diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-05 17:40:57 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-05 17:40:57 +0800 |
commit | b1044f883aa6b7afd4633cb9041b786df99bfe8a (patch) | |
tree | cf78518f9fe89d111c0f3ab925ea8507c61874dc /docker/instance_init.sh | |
parent | f1a805a63cf508e217bca002c36d61a1ae629d7e (diff) |
Move update my.cnf to Dockerfile
Change-Id: I3a19a5478475b8d6a72c4628ce53d3d01d8fba4a
Issue-Id: VFC-280
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
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 } |