Geraldo Fco. do EspĂrito Santo Jr.
2004-Nov-12 08:21 UTC
[Asterisk-Users] CDR & MySQL Problem
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3032 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20041112/454caaaa/smime.bin
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@calltek.com.br> To: <asterisk-users@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 thefollow> 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: Failedto> 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@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