Symbolic linking your socket to the usual location /var/run/mysqld/mysqld.sock might help you.
Do ln -s /data/mysql/mysql.sock /var/run/mysqld/mysqld.sock to do this.
Freeradius should then be able to connect to mysql again.
I suppose that ain't hardcoded in freeradius but it might me hardcoded in libmysqlclient which is used by any app that needs to connect to mysqld...

greets
Sebastian

Seferovic Edvin wrote:

Hi,

and a big HEEEEEEEEEEEELP ( or should I say – save our/my soul ).... I’ve moved my mysql database to another partition ( databases were getting big ) and Ive corrected my mysql config so that the socket file is now located at /data/mysql/mysql.sock. Restarted MySql – and it worked.. but my freeradius ( 1.0.5 ) first crashed with seg. fault ( I suppose this happened because of an Access-Request packet while restarting the server )... and 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 ?

What can I do to get my radius connect to mysql ?


Thank you very much in advance...

Regards,

Edvin Seferovic

------------------------------------------------------------------------

- 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