Hi All,

Thank you all. As you all mentioned it wasnt so serious and was just a simple authentication problem. Its been solved.

Regards.

From: "Diyanat Ali" <[EMAIL PROTECTED]>
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion<asterisk-users@lists.digium.com>
To: asterisk-users@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.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 16 Dec 2005 05:20:09 -0800 Received: from digium-69-16-138-164.phx1.puregig.net (localhost [127.0.0.1])by lists.digium.com (Postfix) with ESMTP id 3F3FE4419;Fri, 16 Dec 2005 06:14:02 -0700 (MST) Received: from psmtp.com (exprod5mx26.postini.com [64.18.0.181])by lists.digium.com (Postfix) with SMTP id CA1AA4415for <asterisk-users@lists.digium.com>;Fri, 16 Dec 2005 06:13:57 -0700 (MST) Received: from source ([65.54.162.38]) by exprod5mx26.postini.com([64.18.4.10]) with SMTP; Fri, 16 Dec 2005 08:14:06 EST Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;Fri, 16 Dec 2005 05:14:06 -0800 Received: from 65.54.162.200 by by108fd.bay108.hotmail.msn.com with HTTP;Fri, 16 Dec 2005 13:14:05 GMT
X-Message-Info: LGjzam7y+LuXeCVcGsTIL6sfvJRsVs3A23oEsKN3m/A=
X-Original-To: asterisk-users@lists.digium.com
Delivered-To: asterisk-users@lists.digium.com
X-OriginalArrivalTime: 16 Dec 2005 13:14:06.0023 (UTC)FILETIME=[978B6570:01C60242]
X-pstn-levels: (S:99.90000/99.90000 )
X-pstn-settings: 1 (0.1500:0.1500) gt3 gt2 gt1 X-pstn-addresses: from <[EMAIL PROTECTED]> [90/4] X-BeenThere: asterisk-users@lists.digium.com
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Asterisk Users Mailing List - Non-Commercial Discussion<asterisk-users.lists.digium.com> List-Unsubscribe: <http://lists.digium.com/mailman/listinfo/asterisk-users>,<mailto:[EMAIL PROTECTED]>
List-Archive: <http://lists.digium.com/pipermail/asterisk-users>
List-Post: <mailto:asterisk-users@lists.digium.com>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <http://lists.digium.com/mailman/listinfo/asterisk-users>,<mailto:[EMAIL PROTECTED]>
Errors-To: [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]


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<asterisk-users@lists.digium.com>
To: asterisk-users@lists.digium.com
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

_________________________________________________________________
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

Reply via email to