Running Asterisk and Queuemetrics on two servers. Had to change the Asterisk server's IP address and now Queuemetrics will not display any transactions. Checked for errors in the log and found this:
Sun Aug 16 12:26:54 2009|Now connecting to DB queuemetrics on
|172.16.1.132 as user qloader with password javadude
E|Sun Aug 16 12:26:54 2009|---ERROR FOUND-- Sun Aug 16 12:26:54
E|2009|Error type: dr Sun Aug 16 12:26:54 2009| Statement:
E|Sun Aug 16 12:26:54 2009| Error: Host '172.16.7.3' is not allowed to connect to this MySQL server
So now I see it is a permission/priviledge issue so I found this:
Please make sure that the MySQL server will allow connecting from the Asterisk server – this can usually be obtained by running on the database server an SQL statement like:
grant all privileges on queuemetrics.* to 'queuemetrics'@'IP of Asterisk Server' identified by 'javadude';
So is this correct, and if so where do I execute this command? The CLI of the queuemetrics server? Can I just login as root and do this?
Any help would be much appreciated.
M Wood