@lists.digium.com
Subject: RE: [Asterisk-Users] cdr mysql problem
Date: Fri, 16 Dec 2005 07:14:05 -0600
MIME-Version: 1.0
X-Originating-IP: [202.65.140.108]
X-Originating-Email: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]
Received: from lists.digium.com ([69.16.138.164]) by
bay0-mc12-f6.bay0
Mohammad Shokuie wrote:
error messages informing me of error, error message is as follows :
cdr_addon_mysql.c : Failed to connect mysql database cdr on localhost
and res_config_mysql.c : Failed to connect database server on .
Im realy lost and dont know whats wrong. I've checked the
I've just compiled asterisk-addon1.2.1 after installing MySQL and
MySQl-devel packages. and adjust my cdr_mysql.conf to use the defined
database using username and password. But as soon as starting asterisk
i get error messages informing me of error, error message is as
follows :
i am using asterisk 1.2.1 with mysql 5 without any issues, please check your
configuration again, make sure you have hostname=localhost too and the
dbname, user, password are correct
[global]
hostname=localhost
dbname=databasename
user=user
password=password
port=3306
error messages informing me of error, error message is as follows :
cdr_addon_mysql.c : Failed to connect mysql database cdr on localhost
and res_config_mysql.c : Failed to connect database server on .
Im realy lost and dont know whats wrong. I've checked the connection
to MySql in
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
-
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.
: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tilghman
Lesher
Sent: Tuesday, February 03, 2004 12:32 AM
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] cdr mysql problem
On Monday 02 February 2004 15:27, Tomica Crnek wrote:
Yes, I have checked the logs. There is nothing there. I
On Tuesday 03 February 2004 01:44, Tomica Crnek wrote:
[global]
hostname=localhost
dbname=asteriskcdrdb
password=**
user=asteriskcdruser
;port=3306
;sock=/tmp/mysql.sock
sock=/var/lib/mysql/mysql.sock
Okay, and so does this work?
bash$ echo select max(calldate) from cdr; | \
mysql
] On Behalf Of dipak0105
Sent: Tuesday, February 03, 2004 1:47 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: [Asterisk-Users] cdr mysql problem
Hi
You have to follow this steps and obviously you got success because we
have followed this steps and got success.
Configure the cdr_mysql.conf file
:[EMAIL PROTECTED] On Behalf Of Tomica Crnek
Sent: Tuesday, February 03, 2004 2:54 PM
To: [EMAIL PROTECTED]
Subject: RE: RE: [Asterisk-Users] cdr mysql problem
Thanks, I don't know what is different from all steps I have followed
several times. I did all this before, believe me. Now, I said
On Mon, 2004-02-02 at 12:49, Tomica Crnek wrote:
Can someone tell me what is wrong here:
Feb 2 19:45:44 ERROR[1074441696]: cdr_addon_mysql.c:381
my_load_module: Failed to connect to mysql database asteriskcdrdb on
localhost.
The database is created, cdr table also, the username and
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Critchfield
Sent: Monday, February 02, 2004 8:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] cdr mysql problem
On Mon, 2004-02-02 at 12:49, Tomica Crnek wrote:
Can someone tell me what
On Monday 02 February 2004 15:27, Tomica Crnek wrote:
Yes, I have checked the logs. There is nothing there. I think
asterisk doesn't try to connect.
Please paste the contents of /etc/asterisk/cdr_mysql.conf. Also,
paste the output of:
ls -l /tmp/mysql.sock /var/lib/mysql/mysql.sock ; locate
14 matches
Mail list logo