mariadb rather than mysql

This commit is contained in:
Bob Mottram 2017-06-05 14:55:39 +01:00
parent 9b2bbf2903
commit 0e4ec45c74
3 changed files with 3 additions and 3 deletions

View File

@ -205,7 +205,7 @@ function restore_mariadb {
exit 962
fi
echo $"Restarting database"
systemctl restart mysql
systemctl restart mariadb
echo $"Change the MariaDB password to the backup version"
DATABASE_PASSWORD="$db_pass"
${PROJECT_NAME}-pass -u root -a mariadb -p "$DATABASE_PASSWORD"

View File

@ -198,7 +198,7 @@ function restore_mariadb {
exit 962
fi
echo $"Restarting database"
systemctl restart mysql
systemctl restart mariadb
echo $"Change the MariaDB password to the backup version"
DATABASE_PASSWORD="$db_pass"
${PROJECT_NAME}-pass -u root -a mariadb -p "$DATABASE_PASSWORD"

View File

@ -166,7 +166,7 @@ function install_mariadb {
# echo $'/etc/mysql/conf.d/my.cnf not found'
# exit 6376245
#fi
systemctl restart mysql
systemctl restart mariadb
mysqladmin -u root password "$MARIADB_PASSWORD"
mark_completed $FUNCNAME