Add initscripts install
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / docker / instance-init.sh
index 39e8502..745e97e 100755 (executable)
 #
 # Config mysql credentials
 
+function start_mysql {
+    echo "start mysql ... "
+    su /sbin/service mysql restart
+    sleep 1
+}
+
+start_mysql
+
 # Initialize MySQL schema
 cd bin
-./init_db.sh vnfm vnfmpass 127.0.0.1 3306
+./init_db.sh root rootpass 127.0.0.1 3306