From b1044f883aa6b7afd4633cb9041b786df99bfe8a Mon Sep 17 00:00:00 2001 From: fujinhua Date: Tue, 5 Sep 2017 17:40:57 +0800 Subject: Move update my.cnf to Dockerfile Change-Id: I3a19a5478475b8d6a72c4628ce53d3d01d8fba4a Issue-Id: VFC-280 Signed-off-by: fujinhua --- docker/instance_init.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docker/instance_init.sh') 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 } -- cgit 1.2.3-korg