aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdocker/instance_run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/instance_run.sh b/docker/instance_run.sh
index 78609f1..d110109 100755
--- a/docker/instance_run.sh
+++ b/docker/instance_run.sh
@@ -29,7 +29,7 @@ function run_forever {
start_redis_server
start_mysql
-mysql -uroot -p$MYSQL_ROOT_PASSWORD -e " GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root';"
+mysql -uroot -p$MYSQL_ROOT_PASSWORD -e " GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;"
mysql -uroot -p$MYSQL_ROOT_PASSWORD -e "flush privileges;"
# if [ ! -f dbexist.txt ]; then
# echo 1 > dbexist.txt