Commit aecd6781 authored by Jochen's avatar Jochen 🎱

refs #2650 - fix permissions for mysql asteriskuser

parent 763ece79
......@@ -40,7 +40,7 @@ if ! BlacklistConfFiles "$MyCnf" ;then
Q="GRANT ALL PRIVILEGES ON pluto_main.* to 'root'@'127.0.0.1';"
mysql $MYSQL_DB_CRED -e "$Q"
Q="GRANT FILE, SHOW DATABASES ON asterisk.* TO 'asteriskuser'@'127.0.0.1';"
Q="GRANT FILE, SHOW DATABASES ON *.* TO 'asteriskuser'@'127.0.0.1';"
mysql $MYSQL_DB_CRED -e "$Q"
Q="FLUSH PRIVILEGES;"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment