#!/bin/bash
#
-# Copyright 2017 Huawei Technologies Co., Ltd.
+# Copyright 2017, Nokia Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# Config mysql credentials
-#sed -i "s|rootpass|rootpass|" webapps/ROOT/WEB-INF/classes/spring/Vnfmadapter/services.xml
+function start_mysql {
+ echo "start mysql ... "
+ /usr/bin/systemctl start mysql.service || /usr/sbin/service mysql start
+ sleep 1
+}
+
+start_mysql
# Initialize MySQL schema
cd bin