Hi,
Asterisk Version: 11.9
Ubuntu Server: 14.04
I installed MySQL, Asterisk and additional softwares. I am able to logging into Asterisk and res_config_mysql.so file is located in “/usr/lib/asterisk/modules” folder. Also, mysqld.sock file is also located in “/var/run/mysqld/mysqld.sock” folder.
When I enter “realtime mysql status” at CLI, it is giving the below message:
ERROR[11973]: res_config_mysql.c:1577 mysql_reconnect: MySQL RealTime: Failed to connect database server asterisk on /var/run/mysqld/mysqld.sock (err 1045). Check debug for more info.
I am wondering about the problem. I don’t understand why it is not connecting, even though everything is installed and configured properly.
Any help would be appreciated.
Thanks in Advance.
Regards,
Mouli