Skip to content

Commit 9514991

Browse files
committed
Remove unneeded flush privilege command
The flush privilege command is only needed if the acl tables are edited manually Thanks to Daniel Black for the contriubtion (cherry picked from commit df21f5c)
1 parent ecb8de7 commit 9514991

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

template/docker-entrypoint.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ EOF
135135
echo "GRANT ALL ON \`"$MYSQL_DATABASE"\`.* TO '"$MYSQL_USER"'@'%' ;" | "${mysql[@]}"
136136
fi
137137

138-
echo 'FLUSH PRIVILEGES ;' | "${mysql[@]}"
139138
elif [ "$MYSQL_USER" -a ! "$MYSQL_PASSWORD" -o ! "$MYSQL_USER" -a "$MYSQL_PASSWORD" ]; then
140139
echo '[Entrypoint] Not creating mysql user. MYSQL_USER and MYSQL_PASSWORD must be specified to create a mysql user.'
141140
fi

0 commit comments

Comments
 (0)