Tell the libmysqlclient to read the sections [freeradius]
authornbk <nbk>
Fri, 9 Dec 2005 16:10:02 +0000 (16:10 +0000)
committernbk <nbk>
Fri, 9 Dec 2005 16:10:02 +0000 (16:10 +0000)
commit991336dd42d6b0440ae356bd17d2f5e73693a4c9
treee82e2fe97fa1232f05cc5a346d7df7946244bda1
parent0a7f7d801c6b35ed5b43fd685fbe5b58fc7e55d6
Tell the libmysqlclient to read the sections [freeradius]
and [client] from file "my.cnf". This makes possible to
define any options specific to MySQL which are not available
through the "sql.conf".

For example, in the file "my.cnf":

# Options only for FreeRADIUS
[freeradius]
net_read_timeout = 10
net_write_timeout = 20

# Note that the client group is always read.
[client]
socket = /path/to/mysqld.sock
src/modules/rlm_sql/drivers/rlm_sql_mysql/sql_mysql.c