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 Ramirez Jefe de Operaciones Qnet Soluciones Tecnologicas Av. Paseo de la Republica 4675 - Lima 34 Telf.: (511) 241-4122 Anexo 2245 Fax: (511) 446-8135 Visitenos en: www.qnet.com.pe ----- Original Message ----- From: rashad To: freeradius-users@lists.freeradius.org 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 root@localhost: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