8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00

Proper names for mysql packages.

This commit is contained in:
Hugo Levy-Falk 2019-09-04 22:16:17 +02:00 committed by root
parent 32aa2780ed
commit 6f661d4f04

View file

@ -103,7 +103,7 @@ install_database() {
if [ "$engine_type" == 1 ]; then
echo "Installing MySQL client ..."
apt-get -y install python3-mysqldb mysql-client
apt-get -y install python3-mysqldb default-mysql-client
echo "Installing MySQL client: Done"
mysql_command="CREATE DATABASE $db_name collate='utf8_general_ci';
@ -113,7 +113,7 @@ install_database() {
if [ "$local_setup" == 1 ]; then
echo "Setting up local MySQL server ..."
apt-get -y install mysql-server
apt-get -y install default-mysql-server
mysql -u root --execute="$mysql_command"
echo "Setting up local MySQL server: Done"
else