On 31 Aug 2013, at 16:10, "Nong NgocDung" <nongd...@gmail.com> wrote:

> 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?

With the 'filename' config item, and you need to set database to 'sqlite'

sql {
        database = 'sqlite'

        filename = '<path to sqlite file>'
}

It's done properly in 3.0. It's sort of hacked into 2.x.x.

Arran Cudbard-Bell <a.cudba...@freeradius.org>
FreeRADIUS Development Team

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

Reply via email to