Commit 4a1431a7 authored by nextime's avatar nextime

Fix the asterisk res_config_mysql password in db cration script

parent 2f088886
...@@ -25,7 +25,7 @@ CREATE DATABASE domotika; ...@@ -25,7 +25,7 @@ CREATE DATABASE domotika;
CREATE USER 'domotika'@'localhost' IDENTIFIED BY 'dmdbpwdmsql'; CREATE USER 'domotika'@'localhost' IDENTIFIED BY 'dmdbpwdmsql';
CREATE USER 'asterisk'@'localhost' IDENTIFIED BY 'astdbpwd'; CREATE USER 'asterisk'@'localhost' IDENTIFIED BY 'astdbpwd';
GRANT USAGE ON * . * TO 'domotika'@'localhost' IDENTIFIED BY 'dmdbpwdmsql' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ; GRANT USAGE ON * . * TO 'domotika'@'localhost' IDENTIFIED BY 'dmdbpwdmsql' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
GRANT USAGE ON * . * TO 'asterisk'@'localhost' IDENTIFIED BY 'dmdbpwdmsql' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ; GRANT USAGE ON * . * TO 'asterisk'@'localhost' IDENTIFIED BY 'astdbpwd' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
GRANT ALL PRIVILEGES ON `domotika` . * TO 'domotika'@'localhost' WITH GRANT OPTION ; GRANT ALL PRIVILEGES ON `domotika` . * TO 'domotika'@'localhost' WITH GRANT OPTION ;
GRANT ALL PRIVILEGES ON `domotika` . * TO 'asterisk'@'localhost' WITH GRANT OPTION ; GRANT ALL PRIVILEGES ON `domotika` . * TO 'asterisk'@'localhost' WITH GRANT OPTION ;
FLUSH PRIVILEGES; 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