From 0e4ec45c7414edd6c81afe4d54f3cda98d1e0f65 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 5 Jun 2017 14:55:39 +0100 Subject: [PATCH] mariadb rather than mysql --- src/freedombone-restore-local | 2 +- src/freedombone-restore-remote | 2 +- src/freedombone-utils-database | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/freedombone-restore-local b/src/freedombone-restore-local index 01c474b1..8606962e 100755 --- a/src/freedombone-restore-local +++ b/src/freedombone-restore-local @@ -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" diff --git a/src/freedombone-restore-remote b/src/freedombone-restore-remote index 5aa8d1e0..f97a9bd8 100755 --- a/src/freedombone-restore-remote +++ b/src/freedombone-restore-remote @@ -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" diff --git a/src/freedombone-utils-database b/src/freedombone-utils-database index b5eefeb0..66f87d58 100755 --- a/src/freedombone-utils-database +++ b/src/freedombone-utils-database @@ -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