17 Sep
2013
17 Sep
'13
1:47 p.m.
On 17 Sep 2013, at 18:22, Edgars Makņa <edgarz@dtg.lv> wrote:
Hello,
I just setup 2.2.0 from freebsd ports. In the testing environment it looks okey except this error: rlm_sql_mysql: MYSQL check_error: 2006, returning SQL_DOWN rlm_sql (sql): Attempting to connect rlm_sql_mysql #1 rlm_sql_mysql: Starting connect to MySQL server for #1 rlm_sql (sql): Connected new DB handle, #1
It appears on every second authorization attempt. Ping to mysql server runs fine, another db's works without any clue. Google didnt give me any answers about this problem.
Looks like MySQL (or something else) is closing the connection after one query? Why don't you trace it and find out. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team