mariadb rather than mysql
This commit is contained in:
parent
9b2bbf2903
commit
0e4ec45c74
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue