mariadb rather than mysql
This commit is contained in:
parent
9b2bbf2903
commit
0e4ec45c74
|
@ -205,7 +205,7 @@ function restore_mariadb {
|
||||||
exit 962
|
exit 962
|
||||||
fi
|
fi
|
||||||
echo $"Restarting database"
|
echo $"Restarting database"
|
||||||
systemctl restart mysql
|
systemctl restart mariadb
|
||||||
echo $"Change the MariaDB password to the backup version"
|
echo $"Change the MariaDB password to the backup version"
|
||||||
DATABASE_PASSWORD="$db_pass"
|
DATABASE_PASSWORD="$db_pass"
|
||||||
${PROJECT_NAME}-pass -u root -a mariadb -p "$DATABASE_PASSWORD"
|
${PROJECT_NAME}-pass -u root -a mariadb -p "$DATABASE_PASSWORD"
|
||||||
|
|
|
@ -198,7 +198,7 @@ function restore_mariadb {
|
||||||
exit 962
|
exit 962
|
||||||
fi
|
fi
|
||||||
echo $"Restarting database"
|
echo $"Restarting database"
|
||||||
systemctl restart mysql
|
systemctl restart mariadb
|
||||||
echo $"Change the MariaDB password to the backup version"
|
echo $"Change the MariaDB password to the backup version"
|
||||||
DATABASE_PASSWORD="$db_pass"
|
DATABASE_PASSWORD="$db_pass"
|
||||||
${PROJECT_NAME}-pass -u root -a mariadb -p "$DATABASE_PASSWORD"
|
${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'
|
# echo $'/etc/mysql/conf.d/my.cnf not found'
|
||||||
# exit 6376245
|
# exit 6376245
|
||||||
#fi
|
#fi
|
||||||
systemctl restart mysql
|
systemctl restart mariadb
|
||||||
|
|
||||||
mysqladmin -u root password "$MARIADB_PASSWORD"
|
mysqladmin -u root password "$MARIADB_PASSWORD"
|
||||||
mark_completed $FUNCNAME
|
mark_completed $FUNCNAME
|
||||||
|
|
Loading…
Reference in New Issue