diff options
author | yangyan <yangyanyj@chinamobile.com> | 2018-04-25 16:18:36 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2018-04-25 16:18:47 +0800 |
commit | bdcc05baa7f989737015afbf499883b53c948e59 (patch) | |
tree | 778b20c90884c46bcb0dff90fa14f2e853fd0eb3 /docker/instance_init.sh | |
parent | 7c1b45e8c83456da2d26ec3a8c46c0658f4069cf (diff) |
Fix database start error in multi-node k8s env
Issue-ID: VFC-889
Change-Id: I4d87c354019a1c50efb436d5fd127e91e652b31c
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker/instance_init.sh')
-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 622477fc..47ceea63 100755 --- a/docker/instance_init.sh +++ b/docker/instance_init.sh @@ -10,7 +10,7 @@ function start_redis_server { } function start_mysql { - service mysql start + find /var/lib/mysql -type f -exec touch {} \; && service mysql start sleep 1 } |