[Asterisk-Users] CDR & MySQL Problem

Scott Stingel scott at evtmedia.com
Fri Nov 12 09:30:25 MST 2004


I think the error is not the sock file error (this is just a harmless
warning I believe), but rather the second "failure to connect" message.

Make sure that you can log on yourself to MySql using the mysql command line
with the same username and password that you specified in your conf file.  

Regards
Scott Stingel


Scott M. Stingel
President,
Emerging Voice Technology, Inc.
Palo Alto California & London England
www.evtmedia.com 

----- Original Message -----
From: "Geraldo Fco. do Espírito Santo Jr." <gsanto at calltek.com.br>
To: <asterisk-users at lists.digium.com>
Sent: Friday, November 12, 2004 9:21 AM
Subject: [Asterisk-Users] CDR & MySQL Problem


> Hi everyone,  I am try to install a CDR using MySQL but I receive the
follow
> message:
>
>
>
> [app_db.so] => (Database access functions for Asterisk extension logic)
>
>   == Registered application 'DBget'
>
>   == Registered application 'DBput'
>
>   == Registered application 'DBdel'
>
>   == Registered application 'DBdeltree'
>
>  [cdr_addon_mysql.so] => (MySQL CDR Backend)
>
>   == Parsing '/etc/asterisk/cdr_mysql.conf': Found
>
> Nov 12 13:13:41 WARNING[2438]: cdr_addon_mysql.c:330 my_load_module: MySQL
> database sock file not specified.  Using default
>
> Nov 12 13:13:41 ERROR[2438]: cdr_addon_mysql.c:378 my_load_module: Failed
to
> connect to mysql database asteriskcdrdb on localhost.
>
>
>
>
> I am using a SuSE 8.0 (kernel 2.4.19), * 1.0.2 (Asterisk
> CVS-HEAD-11/07/04-23:06:58) and MySQL 4.1.7-standard.
>
>
>
> Here are the configuration file
>
>
>
> ==> Cdr_mysql.conf
>
> [global]
>
>  hostname=localhost
>
>  dbname=asteriskcdrdb
>
>  password=test
>
>  user=asteriskuser
>
>
>
> Thanks
>
>
>
> Geraldo
>
>


----------------------------------------------------------------------------
----


> _______________________________________________
> 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

_______________________________________________
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