[Asterisk-Users] Asterisk realtime mysql connection

Sig Lange sig.lange at gmail.com
Tue Jan 3 08:18:02 MST 2006


vmail*CLI> realtime mysql status
Jan  3 10:14:20 ERROR[13666]: res_config_mysql.c:623 mysql_reconnect: MySQL
RealTime: Failed to reconnect. Check debug for more info.
vmail*CLI> realtime mysql status
Connected to asterisk_vm at tritonvoice.com, port 3306 with username voicemail
for 2 days, 17 hours, 15 minutes, 37 seconds.
vmail*CLI> realtime mysql status
Connected to asterisk_vm at tritonvoice.com, port 3306 with username voicemail
for 8 seconds.
vmail*CLI>
vmail*CLI> realtime mysql status
Connected to asterisk_vm at tritonvoice.com, port 3306 with username voicemail
for 11 seconds.

All of which happened in a few seconds. The part that really gets me is one
second it says failed to reconnect, then says it's connected for 2 days,
then for only 8 seconds. After the 8 second line, it seems to be working
correctly.

Surely there is code to reconnect on a failed attempt but perhaps those
counters aren't reset.

Anyone experiencing this problem?

--
Sig Lange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060103/b77c327f/attachment.htm


More information about the asterisk-users mailing list