diff options
author | yangyan <yangyanyj@chinamobile.com> | 2018-04-25 18:17:12 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2018-04-25 18:17:20 +0800 |
commit | e6015e948c18a0c9548370001909f049806f76a9 (patch) | |
tree | c9c0a03e16927874ed21f8f2301f3e65bf41096f | |
parent | ca48d57c0335c1797eff522d7db672643e4919cd (diff) |
Fix database start error in multi-nodes k8s env
Issue-ID: VFC-889
Change-Id: I73b03ec14a1add87206b96222581d5e58505f756
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
-rwxr-xr-x | docker/instance_init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/instance_init.sh b/docker/instance_init.sh index e8ee4bbc..fb4f84a6 100755 --- a/docker/instance_init.sh +++ b/docker/instance_init.sh @@ -5,7 +5,7 @@ function start_redis_server { } function start_mysql { - service mysql start + find /var/lib/mysql -type f -exec touch {} \; && service mysql start sleep 1 } |