remove use statment causing errors
This commit is contained in:
Vendored
+2
-2
@@ -4,8 +4,8 @@
|
|||||||
"fsPath": "$ROOTPATH$/entrypoint.sh",
|
"fsPath": "$ROOTPATH$/entrypoint.sh",
|
||||||
"bookmarks": [
|
"bookmarks": [
|
||||||
-1,
|
-1,
|
||||||
72,
|
71,
|
||||||
80,
|
79,
|
||||||
-1,
|
-1,
|
||||||
-1,
|
-1,
|
||||||
-1,
|
-1,
|
||||||
|
|||||||
@@ -53,7 +53,6 @@ if [ -z "$(ls -A /var/lib/mysql/ 2> /dev/null)" ]; then
|
|||||||
# add root@% with password authentication
|
# add root@% with password authentication
|
||||||
# create SQL user if requested
|
# create SQL user if requested
|
||||||
# remove 'test' table
|
# remove 'test' table
|
||||||
# //printf "USE mysql;\n" >> "$sqlCmd"
|
|
||||||
printf "FLUSH PRIVILEGES;\n" >> "$sqlCmd"
|
printf "FLUSH PRIVILEGES;\n" >> "$sqlCmd"
|
||||||
printf "DB-CREATE: Generating SQL permissions statement for 'root@%%'\n"
|
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"
|
printf "GRANT ALL ON *.* TO 'root'@'%%' IDENTIFIED BY '%s' WITH GRANT OPTION;\n" "$MYSQL_ROOT_PASSWORD" >> "$sqlCmd"
|
||||||
|
|||||||
Reference in New Issue
Block a user