Merge "scripts: test-bifrost: Start MySQL service before configuring the DB"

This commit is contained in:
Jenkins 2017-06-22 15:40:12 +00:00 committed by Gerrit Code Review
commit 2995241698
1 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,9 @@ mysql_setup() {
local DB_USER=openstack_citest
local DB_PW=openstack_citest
# Make sure MySQL is running
sudo service mysql start || sudo service mysqld start || sudo service mariadb start
sudo -H mysqladmin -u root password $DB_ROOT_PW
# It's best practice to remove anonymous users from the database. If