Use command service mysql start
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / docker / instance-init.sh
index 7db2ed4..d1be95c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # Copyright 2017, Nokia Corporation
 #
@@ -18,7 +18,7 @@
 
 function start_mysql {
     echo "start mysql ... "
-    /usr/bin/mysqld_safe &
+    service mysql start
     sleep 5
 }