diff options
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/instance_run.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/instance_run.sh b/docker/instance_run.sh index db286c8..78609f1 100755 --- a/docker/instance_run.sh +++ b/docker/instance_run.sh @@ -29,6 +29,8 @@ 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 "flush privileges;" # if [ ! -f dbexist.txt ]; then # echo 1 > dbexist.txt # create_database |