<font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB"><span class="q">Thanks again.<br> <font size="4">The file "/var/lib/mysql/mysql.sock" does not exist.When I use an IP in sql.conf
instead of the "localhost", I get the following result:</font><br><br></span></span></font>rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked<br>rlm_sql (sql): <font size="4">Attempting to connect to
root@202.117.X.X:/radius</font><br>rlm_sql (sql): starting 0<br>rlm_sql (sql): Attempting to connect rlm_sql_mysql #0<br>rlm_sql_mysql: Starting connect to MySQL server for #0<br>rlm_sql_mysql: Couldn't connect socket to MySQL server
root@202.117.7.243:radius<br>rlm_sql_mysql: Mysql error 'Host '<a href="http://202.117.7.243">202.117.7.243</a>' is not allowed to connect to this MySQL server'<br>rlm_sql (sql): Failed to connect DB handle #0
<br>rlm_sql (sql): starting 1<br>rlm_sql (sql): starting 2<br>rlm_sql (sql): starting 3<br>rlm_sql (sql): starting 4<br>rlm_sql (sql): Failed to connect to any SQL server.<br>Module: Instantiated sql (sql)<br><br><br><br>
<div><span class="gmail_quote">2007/1/29, Edvin Seferovic <<a href="mailto:edvin.seferovic@kolp.at">edvin.seferovic@kolp.at</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="blue" lang="DE">
<div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB"><span class="q">rlm_sql_mysql: Mysql error 'Can't connect to local
MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'<br>
rlm_sql (sql): <b><span style="font-weight: bold;">Failed to connect DB handle #0
</span></b><br></span>
</span></font><span class="q"><font size="4"><span style="font-size: 13.5pt;" lang="EN-GB">rlm_sql
(sql): Failed to connect to any SQL server.</span></font></span><span lang="EN-GB"><br>
<br>
<font color="navy"><span style="color: navy;">your socket file is not in the
place.. maybe you should use an IP in your sql.conf instead of the "localhost"
!</span></font></span></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Regards,</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">E:S</span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB"> </span></font></p>
</div>
</div>
<br>-<br>List info/subscribe/unsubscribe? See <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br><br>
</blockquote></div><br>