diff options
author | yangyan <yangyanyj@chinamobile.com> | 2018-04-25 18:20:21 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2018-04-25 18:20:25 +0800 |
commit | ce0a4ef653fd6e44011fa1d3fcb961dab1e6247c (patch) | |
tree | 6611feb665dadba076ca2145ef908a8e1d1136dc /mgr | |
parent | f00cd766cc702240685ae03842e24c97a6e87862 (diff) |
Fix database start error in multi-nodes k8s env
Issue-ID: VFC-889
Change-Id: I9509d1f36b7d93b78bfbf253f1ba3d1f2b241859
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'mgr')
-rwxr-xr-x | mgr/docker/instance_init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mgr/docker/instance_init.sh b/mgr/docker/instance_init.sh index 90f0810..15b597c 100755 --- a/mgr/docker/instance_init.sh +++ b/mgr/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 } |