remove use statment causing errors

This commit is contained in:
Asif Bacchus 2020-11-27 02:48:15 -07:00
parent e9aee770e1
commit e0818d083e
2 changed files with 2 additions and 3 deletions

View File

@ -4,8 +4,8 @@
"fsPath": "$ROOTPATH$/entrypoint.sh",
"bookmarks": [
-1,
72,
80,
71,
79,
-1,
-1,
-1,

View File

@ -53,7 +53,6 @@ if [ -z "$(ls -A /var/lib/mysql/ 2> /dev/null)" ]; then
# add root@% with password authentication
# create SQL user if requested
# remove 'test' table
# //printf "USE mysql;\n" >> "$sqlCmd"
printf "FLUSH PRIVILEGES;\n" >> "$sqlCmd"
printf "DB-CREATE: Generating SQL permissions statement for 'root@%%'\n"
printf "GRANT ALL ON *.* TO 'root'@'%%' IDENTIFIED BY '%s' WITH GRANT OPTION;\n" "$MYSQL_ROOT_PASSWORD" >> "$sqlCmd"