Hi,

I have been looking at sql.conf, but no use.. I use localhost, usual port,
username and password are okay.. and this is what freeradius says to me now.

Info: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and
linked
Info: rlm_sql (sql): Attempting to connect to [EMAIL PROTECTED]:/radius
Info: rlm_sql_mysql: Starting connect to MySQL server for #0
Error: rlm_sql_mysql: Couldn't connect socket to MySQL server
[EMAIL PROTECTED]:radius
Error: rlm_sql_mysql: Mysql error 'Can't connect to local MySQL server
through socket '/var/lib/mysql/mysql.sock' (2)'
Error: rlm_sql (sql): Failed to connect DB handle #0
Info: Ready to process requests.

But according to my new mysql datadir location ( and my my.cnf file ) - the
socket can be found at /data/mysql/mysql.sock... shouldn't freeRadius find
out the new location? How is this done anyway? 

Any hints? I would be thankful !

Regards,

Edvin Seferovic

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok
Sent: Sonntag, 06. November 2005 05:15
To: [EMAIL PROTECTED]; FreeRadius users mailing list
Subject: Re: mysql.sock moved and cannot be found by freeradius ! 

Seferovic Edvin" <[EMAIL PROTECTED]> wrote:
> when I started it for the second time - it said that it cannot find
> the mysql.sock file in the "usual" place ( /var/lib/mysql/mysql.sock
> )... is the location of mysql.sock hard-coded in freeradius ?

  No.  See "sql.conf".

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to