Persistent MySQL connections to arbitrary databases

Jonathan Gazeley jonathan.gazeley at bristol.ac.uk
Wed Feb 9 10:21:52 CET 2011


I am asking about MySQL connections to a database *other than* the usual 
radius database.

For one of my wireless SSIDs, part of the authorization process invokes 
a perl script which opens a MySQL handle to a different database, does a 
query, destroys the handle, and returns the value to radiusd.

There's a lot of overhead in this so I would like to make radiusd open a 
pool of handles to this database, as it does with its own database.

What's the approved method for making radiusd open persistent 
connections to an arbitrary database, and then using these handles from 
a perl module?

Cheers,
Jonathan

----------------------------
Jonathan Gazeley
Systems Support Specialist
ResNet | Wireless & VPN Team
IT Services
University of Bristol
----------------------------



More information about the Freeradius-Users mailing list