On 31 Aug 2013, at 16:10, "Nong NgocDung" <nongdung@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.cudbardb@freeradius.org> FreeRADIUS Development Team