How do I find out the query error?

Alan DeKok aland at deployingradius.com
Tue May 22 09:31:52 CEST 2012


Coizado wrote:
> Mon May 21 14:07:18 2012 : Debug: rlm_sql_mysql: query:  SELECT id,
> username, attribute, value, op           FROM login_radius           WHERE
> username = 'coizado'           ORDER BY id

  That's the query.

> Mon May 21 14:07:18 2012 : Debug: rlm_sql_mysql: MYSQL check_error: 1054
> received

  That's the MySQL error.

> Any idea as to where should I look to find out what exactly is the sql
> error?

  Look up the MySQL error on the MySQL site.  Try to run the query manually.

  Alan DeKok.


More information about the Freeradius-Users mailing list