From e0818d083e97132ea76443e5732e381c2f4d97dc Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Fri, 27 Nov 2020 02:48:15 -0700 Subject: [PATCH] remove use statment causing errors --- .vscode/numbered-bookmarks.json | 4 ++-- entrypoint.sh | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.vscode/numbered-bookmarks.json b/.vscode/numbered-bookmarks.json index dc394e1..ab8f714 100644 --- a/.vscode/numbered-bookmarks.json +++ b/.vscode/numbered-bookmarks.json @@ -4,8 +4,8 @@ "fsPath": "$ROOTPATH$/entrypoint.sh", "bookmarks": [ -1, - 72, - 80, + 71, + 79, -1, -1, -1, diff --git a/entrypoint.sh b/entrypoint.sh index e04957a..93d78cc 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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"