hi,

    I catch the problem.Please help me to slove!Thank you!

 Here is the code for the error:

rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
rlm_sql (sql): Attempting to connect to root@localhost:/radius
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
rlm_sql_mysql: Starting connect to MySQL server for #0
rlm_sql_mysql: Couldn't connect socket to MySQL server root@localhost:radius
rlm_sql_mysql: Mysql error 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
rlm_sql (sql): Failed to connect DB handle #0
rlm_sql (sql): starting 1
rlm_sql (sql): starting 2
rlm_sql (sql): starting 3
rlm_sql (sql): starting 4
Module: Instantiated sql (sql)

In the sql.conf ,I have set the right user and password,but I don't know why the error "'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'" occur!I don't know how to do then!Please help me !Thank you very much!

Reply via email to