Skip to content
Permalink
Browse files

make the default config clearer

  • Loading branch information...
alandekok committed Mar 17, 2019
1 parent 78fa15f commit 07e9f079917f247b6329d090b271bc768f35bcad
Showing with 21 additions and 15 deletions.
  1. +21 −15 raddb/mods-available/sql
@@ -18,17 +18,30 @@
#

sql {
# The sub-module to use to execute queries. This should match
# the database you're attempting to connect to.
#
# * rlm_sql_mysql
# * rlm_sql_mssql
# * rlm_sql_oracle
# * rlm_sql_postgresql
# * rlm_sql_sqlite
# * rlm_sql_null (log queries to disk)
# The dialect of SQL being used.x
#
# Allowed dialects are:
#
# mssql
# mysql
# oracle
# postgresql
# sqlite
#
dialect = "sqlite"

#
# The driver module used to execute the queries. Since we
# don't know which SQL drivers are being used, the default is
# "rlm_sql_null", which just logs the queries to disk.
#
# In order to talk to a real database, delete the next line,
# and uncomment the one after it.
#
driver = "rlm_sql_null"
# driver = "rlm_sql_${driver}"


#
# Several drivers accept specific options, to set them, a
@@ -83,13 +96,6 @@ sql {
# }
#

# The dialect of SQL you want to use, this should usually match
# the driver you selected above.
#
# If you're using rlm_sql_null, then it should be the type of
# database the logged queries are going to be executed against.
dialect = "sqlite"

# Connection info:
#
# server = "localhost"

0 comments on commit 07e9f07

Please sign in to comment.
You can’t perform that action at this time.