Using multiple databases on the same freeRadius instance

A.L.M.Buxey at A.L.M.Buxey at
Tue Feb 14 09:31:31 CET 2017


> I am wondering if there are any way to use two different databases
> within the same freeRadius instance?

yes, of course.

> Currently, I am using the default MySQL schema for AAA. I am
> inserting additional attributes in the pre-proxy configuration of my
> site. The attribute information comes from the same database. This
> works perfectly.
> I now have a site where I need to do the same but the additional
> attribute information needs to come from a different database
> (existing database on the client side), other than the AAA database.

just instantiate a new database connector - copy the DB config/type you want, give it a name
eg instead of 

sql {

it is 

sql other_db {

and then use that name in the places you need

%{other_db:select name from table}



More information about the Freeradius-Users mailing list