mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 07:02:26 +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
|
if [ "$engine_type" == 1 ]; then
|
||||||
|
|
||||||
echo "Installing MySQL client ..."
|
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"
|
echo "Installing MySQL client: Done"
|
||||||
|
|
||||||
mysql_command="CREATE DATABASE $db_name collate='utf8_general_ci';
|
mysql_command="CREATE DATABASE $db_name collate='utf8_general_ci';
|
||||||
|
@ -113,7 +113,7 @@ install_database() {
|
||||||
|
|
||||||
if [ "$local_setup" == 1 ]; then
|
if [ "$local_setup" == 1 ]; then
|
||||||
echo "Setting up local MySQL server ..."
|
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"
|
mysql -u root --execute="$mysql_command"
|
||||||
echo "Setting up local MySQL server: Done"
|
echo "Setting up local MySQL server: Done"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue