Freeradius2 and sqlite

Nong NgocDung nongdung at
Sat Aug 31 17:10:54 CEST 2013

Hi Arran,

In sql.conf as follow:

sql {
        #  Set the database to one of:
        #       mysql, mssql, oracle, postgresql
        database = "mysql"

        #  Which FreeRADIUS driver to use.
        driver = "rlm_sql_${database}"

        # Connection info:
        server = "localhost"

Where should I declare the connection to sqlite file?

-----Original Message-----
From: at
[ at] On
Behalf Of Arran Cudbard-Bell
Sent: Friday, August 30, 2013 10:01 PM
To: FreeRadius users mailing list
Subject: Re: Freeradius2 and sqlite

On 30 Aug 2013, at 15:48, NgocDung Nong <nongdung at> wrote:

> Hi Arran,
> I know and I can make FR work with mysql, but I don't have any sql.conf
example that works with sqlite. Could you give an example sql.conf file?

The default sql.conf file will work with sqlite.  The queries however may

version 3.0.0 has queries specifically for sqlite, so  you may want to try

Arran Cudbard-Bell <a.cudbardb at> FreeRADIUS Development Team

List info/subscribe/unsubscribe? See

More information about the Freeradius-Users mailing list