diff options
Diffstat (limited to 'docker/instance_init.sh')
-rwxr-xr-x | docker/instance_init.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docker/instance_init.sh b/docker/instance_init.sh index 3c0dcce1..e8ee4bbc 100755 --- a/docker/instance_init.sh +++ b/docker/instance_init.sh @@ -5,8 +5,7 @@ function start_redis_server { } function start_mysql { - sed -i "s|bind-address.*|# bind-address = 127.0.0.1|" /etc/mysql/my.cnf - service mysql restart + service mysql start sleep 1 } |