From 1edea8332599487975e8367435bc4134103f019b Mon Sep 17 00:00:00 2001 From: yangyan Date: Fri, 27 Apr 2018 10:16:01 +0800 Subject: Fix database start error in multi-nodes k8s env Issue-ID: VFC-889 Change-Id: I3cedc5601aaf6b26914b7a5e043138199b71cb7b Signed-off-by: yangyan --- res/docker/instance_init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res') diff --git a/res/docker/instance_init.sh b/res/docker/instance_init.sh index 1986369..c2d91e8 100755 --- a/res/docker/instance_init.sh +++ b/res/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 } -- cgit 1.2.3-korg