[Asterisk-Users] CDR & MySQL Problem
Matthew Boehm
mboehm at cytelcom.com
Fri Nov 12 08:57:24 MST 2004
Come on man...I know you are smarter than this; you're using asterisk. Take
a minute to actually "READ" the error.
"MySQL database sock file not specified"
How much more simple can you get?
If you are using localhost, you need to define a socket file in the
cdr_mysql.conf file.
-Matthew
----- 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
More information about the asterisk-users
mailing list