mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 22:22:26 +00:00
Test fix granting DB permission over tcp
This commit is contained in:
parent
be80b4f5af
commit
37268a0fd1
1 changed files with 3 additions and 3 deletions
|
@ -107,8 +107,8 @@ install_database() {
|
|||
echo "Installing MySQL client: Done"
|
||||
|
||||
mysql_command="CREATE DATABASE $db_name collate='utf8_general_ci';
|
||||
CREATE USER '$username'@'localhost' IDENTIFIED BY '$password';
|
||||
GRANT ALL PRIVILEGES ON $db_name.* TO '$username'@'localhost';
|
||||
CREATE USER '$username'@'127.0.0.1' IDENTIFIED BY '$password';
|
||||
GRANT ALL PRIVILEGES ON $db_name.* TO '$username'@'127.0.0.1';
|
||||
FLUSH PRIVILEGES;"
|
||||
|
||||
if [ "$local_setup" == 1 ]; then
|
||||
|
@ -491,7 +491,7 @@ interactive_guide() {
|
|||
# Use of default values for local setup
|
||||
sql_name="re2o"
|
||||
sql_login="re2o"
|
||||
sql_host="localhost"
|
||||
sql_host="127.0.0.1"
|
||||
fi
|
||||
|
||||
# Prompt to enter the database password
|
||||
|
|
Loading…
Reference in a new issue