Araba, Michael
2005-Aug-23 21:41 UTC
[Asterisk-Users] RealTime ignoringswitch=>Realtime/context@realti me_ext
I am using the current HEAD of asterisk and for asterisk-addons. I have been trying to setup realtime mysql voicemail but no sucess. I keep getting this error below. The necessary modules are loaded, res_config_mysql.so ... Any pointers will help. Thanks mail*CLI> realtime mysql status Aug 24 00:56:50 ERROR[963]: res_config_mysql.c:596 mysql_reconnect: MySQL RealTime: Failed to connect database server RealTimeMaster on localhost. Check debug for more info. Aug 24 00:56:50 DEBUG[963]: res_config_mysql.c:597 mysql_reconnect: MySQL RealTime: Cannot Connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050823/a9fb3db8/attachment.htm
Matthew Boehm
2005-Aug-24 06:16 UTC
[Asterisk-Users] RealTime ignoringswitch=>Realtime/context@realti me_ext
Araba, Michael wrote:> mail*CLI> realtime mysql status > Aug 24 00:56:50 ERROR[963]: res_config_mysql.c:596 mysql_reconnect: > MySQL RealTime: Failed to connect database server RealTimeMaster on > localhost. Check debug for more info. > Aug 24 00:56:50 DEBUG[963]: res_config_mysql.c:597 mysql_reconnect: > MySQL RealTime: Cannot Connect: Can't connect to local MySQL server > through socket '/tmp/mysql.sock' (2)Post your res_mysql.conf. Obviously you cannot login to your mysql box for some reason. Can you connect to mysql from your shell? -Matthew
Araba, Michael
2005-Aug-24 06:57 UTC
[Asterisk-Users] RealTime ignoringswitch=>Realtime/context@realti me_ext
I am using the current HEAD of asterisk and for asterisk-addons. I have been trying to setup realtime mysql voicemail but no sucess. I keep getting this error below. The necessary modules are loaded, res_config_mysql.so ... res_mysql.conf settings [general] dbhost = localhost dbname = RealTimeMaster dbuser = xxxxxxx dbpass = xxxxxxx dbport = 3306 dbsock = /tmp/mysql.sock extcconf.conf [settings] voicemail => mysql,RealTimeMaster,voicemail sipusers => mysql,RealTimeMaster,sip_buddies sippeers => mysql,RealTimeMaster,sip_buddies queues => mysql,RealTimeMaster,queue queue_members => mysql,RealTimeMaster,queue_member mail*CLI> realtime mysql status Aug 24 00:56:50 ERROR[963]: res_config_mysql.c:596 mysql_reconnect: MySQL RealTime: Failed to connect database server RealTimeMaster on localhost. Check debug for more info. Aug 24 00:56:50 DEBUG[963]: res_config_mysql.c:597 mysql_reconnect: MySQL RealTime: Cannot Connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050824/0675ebea/attachment.htm