mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
fixed mysql unsuspend bug
This commit is contained in:
parent
dca2b4acb5
commit
e9e3323c36
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ unsuspend_mysql_database() {
|
|||
query="GRANT ALL ON $database.* FROM '$DBUSER'@'%'"
|
||||
mysql -h $HOST -u $USER -p$PASSWORD -P $PORT -e "$query" &> /dev/null
|
||||
|
||||
query="GRANT ALL ON $database.* FROM '$DBUSER'@'localhost'"
|
||||
query="GRANT ALL ON $database.* TO '$DBUSER'@'localhost'"
|
||||
mysql -h $HOST -u $USER -p$PASSWORD -P $PORT -e "$query" &> /dev/null
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue