Don't use instance name in SQL module tests.
[freeradius.git] / src / tests / modules / sql_mysql / module.conf
1 sql {
2         driver = "rlm_sql_mysql"
3         dialect = "mysql"
4
5         # Connection info:
6         #
7         server = $ENV{SQL_MYSQL_TEST_SERVER}
8         port = 3306
9         login = "radius"
10         password = "radpass"
11
12         # Database table configuration for everything except Oracle
13         radius_db = "radius"
14         radius_db = "radius"
15
16         acct_table1 = "radacct"
17         acct_table2 = "radacct"
18         postauth_table = "radpostauth"
19         authcheck_table = "radcheck"
20         groupcheck_table = "radgroupcheck"
21         authreply_table = "radreply"
22         groupreply_table = "radgroupreply"
23         usergroup_table = "radusergroup"
24         read_groups = yes
25         read_profiles = yes
26
27         # Remove stale session if checkrad does not see a double login
28         delete_stale_sessions = yes
29
30         pool {
31                 start = 1
32                 min = 0
33                 max = 1
34                 spare = 3
35                 uses = 2
36                 lifetime = 1
37                 idle_timeout = 60
38                 retry_delay = 1
39         }
40
41         # Set to 'yes' to read radius clients from the database ('nas' table)
42         # Clients will ONLY be read on server startup.
43 #       read_clients = yes
44
45         # Table to keep radius client info
46         client_table = "nas"
47
48         # Read database-specific queries
49         $INCLUDE ${modconfdir}/${.:name}/main/${dialect}/queries.conf
50 }