5 In order for your radius server to query an sql database, you must
6 have a database schema on which the radius server can perform queries.
7 The server ships with default database schema's for which the default
8 queries are constructed.
12 There isn't a generic SQL schema, but there is one for some databases:
14 src/modules/rlm_sql/drivers/rlm_sql_mysql/db_mysql.sql
15 src/modules/rlm_sql/drivers/rlm_sql_postgresql/db_postgresql.sql
16 src/modules/rlm_sql/drivers/rlm_sql_freetds/db_mssql.sql
17 src/modules/rlm_sql/drivers/rlm_sql_oracle/db_oracle.sql
21 For further information, this web page seems to be good:
23 http://www.frontios.com/freeradius.html
25 More information about tips for configuring MySQL can be found at:
27 http://www.mysql.com/doc/S/e/Server_parameters.html
28 http://www.mysql.com/doc/S/E/SEC456.html
29 http://www.mysql.com/doc/E/X/EXPLAIN.html <-(useful)
30 http://www.mysql.com/doc/T/i/Tips.html
31 http://www.mysql.com/doc/M/e/Memory_use.html
33 A good page for MySQL best practices is:
35 http://www.onlamp.com/pub/a/onlamp/2002/07/11/MySQLtips.html