attribute Access-Period dont work

Alan DeKok aland at deployingradius.com
Thu May 21 21:42:55 CEST 2015


On May 21, 2015, at 2:17 PM, Sergio Diaz <sdiazf at logitel.com.mx> wrote:

> [accessperiod]  expand: .SELECT -> .SELECT

  That's not a valid SQL query.

> rlm_sql (sql): Reserving sql socket id: 23
> rlm_sql_mysql: MYSQL check_error: 2006, returning SQL_DOWN
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #23
> rlm_sql_mysql: Starting connect to MySQL server for #23
> rlm_sql (sql): Connected new DB handle, #23
> rlm_sql_mysql: MYSQL check_error: 1064 received
> rlm_sql (sql): failed after re-connect
> rlm_sql (sql): database query error, .SELECT: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.SELECT' at line 1

  See?  It's not a valid SQL query.

  Fix the "accessperiod" module configuration so that it contains a correct SQL statement.

  Alan DeKok.




More information about the Freeradius-Users mailing list