<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=koi8-r">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>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
<FONT face="Times New Roman" size=3>('/var/run/mysqld/mysqld.sock'
)</FONT></FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>
<DIV>
<P><FONT face=tahoma size=2><STRONG>Ernesto Freyre Ramírez</STRONG><BR>Jefe de
Operaciones<BR><EM><STRONG>Qnet<BR>Soluciones Tecnológicas</STRONG></EM><BR>Av.
Paseo de la República 4675 - Lima 34 <BR>Telf.: (511) 241-4122 Anexo
2245<BR>Fax: (511) 446-8135</FONT></P>
<P><FONT face=tahoma size=2>Visítenos en: <A
href="http://www.qnet.com.pe"><EM>www.qnet.com.pe</EM></A></FONT></P></FONT>-----
Original Message ----- </DIV></DIV></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=rashad@nakhchyvan.az href="mailto:rashad@nakhchyvan.az">rashad</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeradius-users@lists.freeradius.org
href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, June 23, 2005 9:21
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> mysqld.sock path problem</DIV>
<DIV><BR></DIV>freeradius can't connect to mysqld due to incorrect mysqld.sock
path.<BR><BR>rlm_sql_mysql: Couldn't connect socket to MySQL server <A
href="mailto:root@localhost:radius">root@localhost:radius</A><BR>rlm_sql_mysql:
Mysql error 'Can't connect to local MySQL server through<BR>socket
'/var/run/mysqld/mysqld.sock' (2)'<BR>rlm_sql (sql): Failed to connect DB
handle #0<BR><BR>Actual path is /tmp/mysqld.sock.<BR>Can I change path to
mysqld.sock in freeradius?<BR><BR><BR>- <BR>List info/subscribe/unsubscribe?
See <A
href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</A><BR></BLOCKQUOTE></BODY></HTML>