From eead6a9048947ea77a148759b3a5289e41b17973 Mon Sep 17 00:00:00 2001 From: ILoveYaToo Date: Mon, 13 Apr 2020 22:47:44 -0400 Subject: [PATCH] fix missing use --- ubuntu/src/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntu/src/docker-entrypoint.sh b/ubuntu/src/docker-entrypoint.sh index 18eae1d..4eca28b 100755 --- a/ubuntu/src/docker-entrypoint.sh +++ b/ubuntu/src/docker-entrypoint.sh @@ -20,7 +20,7 @@ echo "== Waiting for MySQL to start up ==" while ! mysqladmin ping -h mysql --silent; do sleep 0.5 done -while ! mysql -u root -p"$MYSQL_ROOT_PASSWORD" -e "$MYSQL_DATABASE" 2> /dev/null; do +while ! mysql -u root -p"$MYSQL_ROOT_PASSWORD" -e "use $MYSQL_DATABASE" 2> /dev/null; do sleep 0.5 done