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
sock=/var/lib/mysql/mysql.sock
Diyanat
From: "Mohammad Shokuie" <[EMAIL PROTECTED]>
Reply-To: Asterisk Users Mailing List - Non-Commercial
Discussion<[email protected]>
To: [email protected]
Subject: [Asterisk-Users] cdr mysql problem
Return-Path: [EMAIL PROTECTED]
Dear folks,
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 :
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 command line using the same user and host and its been connected
without any problem.
Anyone has any idea whats wrong here.
Regards.
---
M. Shokuie Nia.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users