[Asterisk-Users] RealTime
ignoringswitch=>Realtime/context@realtime_ext
Shafqat Hamid
shafqat at resgrp.com.pk
Wed Aug 24 06:33:19 MST 2005
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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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/context at realtime_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
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list