Commit 763ece79 authored by Jochen's avatar Jochen 🎱

refs #2650 - fix permissions for mysql asteriskuser

parent 6bd369e8
......@@ -34,10 +34,15 @@ if ! BlacklistConfFiles "$MyCnf" ;then
bind-address=0.0.0.0
query_cache_limit=16M
query_cache_size=128M
secure-file-priv = ""
EOF
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';"
mysql $MYSQL_DB_CRED -e "$Q"
Q="FLUSH PRIVILEGES;"
mysql $MYSQL_DB_CRED -e "$Q"
......
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