I'm using an alternate port (13001) for MySQL, and I've added a port option in sql.conf (I've not found it in documentation, but it works and is in the code).


        server = "localhost"
        port = "13001"
        login = "radius"
        password = "xxxxxxxx"

While normal mysql program works with these accounting data, I've this error whitin freeradius:

Thu Mar 24 18:23:47 2005 : Info: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
Thu Mar 24 18:23:47 2005 : Info: rlm_sql (sql): Attempting to connect to [EMAIL PROTECTED]:13001/database
Thu Mar 24 18:23:47 2005 : Info: rlm_sql_mysql: Starting connect to MySQL server for #0
Thu Mar 24 18:23:47 2005 : Error: rlm_sql_mysql: Couldn't connect socket to MySQL server [EMAIL PROTECTED]:database
Thu Mar 24 18:23:47 2005 : Error: rlm_sql_mysql: Mysql error 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Thu Mar 24 18:23:47 2005 : Error: rlm_sql (sql): Failed to connect DB handle #0
Thu Mar 24 18:23:47 2005 : Info: Ready to process requests.


I've searched all docs, but I don't see any info.

What to change/modify?

Tonino


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

Reply via email to