New custom query - MySQL

Alan DeKok aland at deployingradius.com
Sat Jul 12 10:01:58 UTC 2025


On Jul 12, 2025, at 2:22 AM, Rodrigo Prazim <rodrigoprazim at hotmail.com> wrote:
> I am trying to run a custom query in order to generate reports for the company.
> Here's the idea:
> Every time there is an authentication attempt, I would like to save the record in a separate table.

  Just run the query in place, in sites-enabled/default:

post-auth {
	...

	%{sql:"INSERT INTO ..."}

}

  Alan DeKok.



More information about the Freeradius-Users mailing list