Multiple post-auth queries

Gianluca Laudano laudanog at vdagroup.com
Wed Feb 14 18:00:42 CET 2018


Hello, I'm running freeradius 3.0.12 on Debian Stretch amd64 + mysql 5.6

I'm trying to execute multiple queries at post-auth with a configuration 
like this:

query= "statement 1; statement 2; statement 3"

With this configuration active I often (not always) get this MySQL 
error: sql_time: ERROR: rlm_sql_mysql: ERROR 2014 (Commands out of sync; 
you can't run this command now): HY000

The error does't appear if I just execute two statements.

The statements execute insert and updates

Thanks in advance

Gianluca




More information about the Freeradius-Users mailing list