SQL-Accounting

tnt at kalik.net tnt at kalik.net
Fri Feb 27 00:08:59 CET 2009


>1) can I access to all accounting releated information from the perl
>module like in the sql-module?

You said that you want to call a stored procedure. Yes, your database
does have access to all the information stored in it.

>Are any examples out there?

$query = "CALL your_procedure";

If you need a tutorial about using MySQL with perl - ask your frien
Google.

>2) If I user the perl module, so I must log on the database each time
>the module is invoked?
>

Yes. You can't "borrow" persistant sql handles from rlm_sql.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list