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....@lists.freeradius.org
[mailto:freeradius-users-bounces+nongdung=gmail....@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 <nongd...@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.cudba...@freeradius.org> FreeRADIUS Development Team

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

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

Reply via email to