Freeradius2 and sqlite

Nong NgocDung nongdung at gmail.com
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: freeradius-users-bounces+nongdung=gmail.com at lists.freeradius.org
[mailto:freeradius-users-bounces+nongdung=gmail.com at lists.freeradius.org] 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 gmail.com> 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
not.

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

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

-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list