When  I had this problem , on any environment, not specifically freeradius, the more quick solution was make a link of the actual path of the mysql sock to the path where this is expected  ('/var/run/mysqld/mysqld.sock' )

Ernesto Freyre Ramírez
Jefe de Operaciones
Qnet
Soluciones Tecnológicas

Av. Paseo de la República 4675 - Lima 34
Telf.: (511) 241-4122 Anexo 2245
Fax: (511) 446-8135

Visítenos en: www.qnet.com.pe

----- Original Message -----
From: rashad
Sent: Thursday, June 23, 2005 9:21 AM
Subject: mysqld.sock path problem

freeradius can't connect to mysqld due to incorrect mysqld.sock path.

rlm_sql_mysql: Couldn't connect socket to MySQL server [EMAIL PROTECTED]:radius
rlm_sql_mysql: Mysql error 'Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2)'
rlm_sql (sql): Failed to connect DB handle #0

Actual path is /tmp/mysqld.sock.
Can I change path to mysqld.sock in freeradius?


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

Reply via email to