I am getting this error when reload my asterisk

"cdr_addon_mysql.c:264 my_load_module: Unable to load config for mysql
CDR's: cdr_mysql.conf"

I don't have res_mysql.conf in /etc/asterisk/. I have res_odbc.conf
which is attached


Res_odbc.conf
==============
;;; odbc setup file

[mysql1]
dsn => MySQL-asterisk
username => myuser
password => mypass
pre-connect => yes


[mysql2]
dsn => MySQL-asterisk
username => myuser
password => mypass
pre-connect => yes

Shafqat

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew
Boehm
Sent: Wednesday, August 24, 2005 6:17 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] RealTime
ignoringswitch=>Realtime/[EMAIL PROTECTED]

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

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to