mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 03:13:12 +00:00
Proper names for mysql packages.
This commit is contained in:
parent
32aa2780ed
commit
6f661d4f04
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue