Error syntax in sql accounting.

Alan DeKok aland at
Mon Feb 4 16:31:50 CET 2013

Hocine M wrote:
>  Hi everybody,
> I always have an error in radius.log file :
> Mon Feb  4 16:16:52 2013 : Error: [sql_acct] Couldn't insert SQL
> accounting START record - Erreur de syntaxe pr�s de '' � la ligne 1

  Don't edit the configuration files and break them.

  You do understand what "Erreur de syntaxe" means, right?

> I made my radacct accounting table with the schema founf in
> /etc/freeradius/sql/mysql/schema.sql.
> I use a mysql server databse.
> in my sql.conf i use the standard queries for accounting.

  It looks like you don't.

  Run the server in debugging mode, as suggested in the FAQ, "man" page,
web pages, and daily on this list.  Only that will tell you what's
really going on.

  Alan DeKok.

More information about the Freeradius-Users mailing list