Pull fix for bug #436 from branch_1_1
[freeradius.git] / doc / RADIUS-SQL.schema
1 RADIUS-SQL.schema
2
3 0.INTRODUCTION
4
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.
9
10 1.DATABASE SCHEMA
11  
12   There isn't a generic SQL schema, but there is one for some databases:
13
14     doc/examples/mysql.sql
15     doc/examples/postgresql.sql
16     doc/examples/mssql.sql
17     doc/examples/oracle.sql
18
19 2.MYSQL
20
21   For further information, this web page seems to be good:
22
23     http://www.frontios.com/freeradius.html
24
25   More information about tips for configuring MySQL can be found at:
26
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
32
33   A good page for MySQL best practices is:
34
35     http://www.onlamp.com/pub/a/onlamp/2002/07/11/MySQLtips.html
36