Cannot get MySQL backend to work in Ubuntu 17.04

Alan DeKok aland at
Mon Apr 24 17:21:29 CEST 2017

On Apr 24, 2017, at 11:15 AM, Martin Rys <spleefer90 at> wrote:
> I was originally running freeradius against a mariaDB running on 16.04
> Ubuntu, where other services were running just fine, but it didn't
> work for freeRADIUS so I switched to a local one.

  FreeRADIUS works with a local or remote SQL database.  It doesn't matter.

> I can still write to the db manually, so I don't see how the database
> is at fault, how should I debug this if it is the case?

  Find out why your SQL server is returning SUCCESS, and then failing to write the data.

  FreeRADIUS works for everyone else with SQL.  There's no magic here.  Something on your local system is broken.

  It's either the database, *or* you have some locally butchered version of FreeRADIUS, or the SQL library used by FreeRADIUS is lying to the server.

  Again, there's no magic here.  If FreeRADIUS says it wrote data to SQL, then it's been told by the SQL server and the SQL client library that the data was written.

  Alan DeKok.

More information about the Freeradius-Users mailing list