Difference between revisions of "Asterisk can't connect to MySQL database"
From Kolmisoft Wiki
Jump to navigationJump to search
(New page: If your asterisk is unable connect to your database, there could be several problems. 1) Make sure you have correct connection info in these files: /home/mor/config/database.yml /etc...) |
(No difference)
|
Revision as of 09:58, 6 January 2009
If your asterisk is unable connect to your database, there could be several problems.
1) Make sure you have correct connection info in these files:
/home/mor/config/database.yml /etc/asterisk/mor.conf /etc/asterisk/res_mysql.conf /var/lib/asterisk/agi-bin/mor.conf /home/mor/public/c2c/c2c.php
2) Check for /etc/hosts file, there could be incorrect info.
3) Check for DNS, ping MySQL server and double check if packets reaching MySQL server. iptraf program is very usefull in such situations.