This is a discussion on Changing MySQL port within the FreeRADIUS Users forums, part of the Networking and Network Related category; I'm using an alternate port (13001) for MySQL, and I've added a port option in sql.conf (I'...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 radius@localhost: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 radius@localhost: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 |