Freeradius установлен в chroot.
В логах появлянтся:
root@srv:/# tail /var/log/freeradius/radius.log
Wed Jan 14 04:47:26 2015 : Info: rlm_sql (sql): Attempting to connect to root@localhost:3306/radius
Wed Jan 14 04:47:26 2015 : Info: rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
Wed Jan 14 04:47:26 2015 : Info: rlm_sql_mysql: Starting connect to MySQL server for #0
Wed Jan 14 04:47:26 2015 : Error: rlm_sql_mysql: Couldn't connect socket to MySQL server root@localhost:radius
Wed Jan 14 04:47:26 2015 : Error: rlm_sql_mysql: Mysql error 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)'
Wed Jan 14 04:47:26 2015 : Error: rlm_sql (sql): Failed to connect DB handle #0
Wed Jan 14 04:47:26 2015 : Info: Loaded virtual server <default>
Wed Jan 14 04:47:26 2015 : Info: Loaded virtual server inner-tunnel
Wed Jan 14 04:47:26 2015 : Info: ... adding new socket proxy address * port 60861
Wed Jan 14 04:47:26 2015 : Info: Ready to process requests.
root@srv:/#
как исправить