> rlm_sql (sql): Attempting to connect to [EMAIL PROTECTED]:/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
> [EMAIL PROTECTED]:radius
> rlm_sql_mysql: Mysql error 'Can't connect to local MySQL server
> through socket '/var/lib/mysql/mysql.sock' (13)'
> 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
> rlm_sql (sql): Failed to connect to any SQL server.
> Module: Instantiated sql (sql) 
>  
> when i am trying to run : mysql -uroot -hlocalhost  radius  it's
> working fine.
>  
> what can be a problem and where to configure that.

1) look into my.cnf (mysql config) find socket...
Is the same path??
what about "skip-networking"?? is ON?? if is off you can try connect on
ip address.
2) show mysql config in sql.conf


-- 
EW


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

Reply via email to