goodies/*Create.sql
files in the distribution for
more information about them. You will probably want to create a more
elaborate schema to handle the tasks you need, and the schemas we supply
should be regarded as a starting point only. You should probably consult
with a Database Analyst to maximise the performance of your SQL
database.goodies/mysqlCreate.sql
for more
information.DBSource dbi:mysql:radius DBUsername radius DBAuth password
dbi:mysql[:database[;host=hostname[;port=port]]]
goodies/postgres-sqliteCreate.sql
for more
information.DBSource dbi:Pg:dbname=radius DBUsername user DBAuth password
dbi:Pg:dbname=radius[;host=hostname[;port=port]]
goodies/oracleCreate.sql
for more
information.
DBSource dbi:Oracle:sid DBUsername user DBAuth password
dbi:Oracle:service_name=xe;host=10.20.30.40;port=1521
goodies/sqlserver-sybaseCreate.sql
for
more information.DBSource dbi:ODBC:radius DBUsername radius DBAuth password
dbname
,
which specifies the path name of the single file where the database is to
be stored. It can be an absolute file path or a relative path. DBUsername
and DBAuth are not required and are ignored.goodies/postgres-sqliteCreate.sql
for more
information.
DBSource dbi:SQLite:dbname=/path/to/your/dbfile
database
, which specifies the path name of the
file where the database is to be stored. DBUsername is the Firebird user
name, and DBAuth is the password for the Firebird user.goodies/ansiCreate.sql
for more
information..DBSource dbi:Firebird:database=/path/to/database.fdb DBUsername username DBAuth password
DBSource dbi:Firebird:port=3050;host=10.20.30.40;db=/path/to/database.fdb;
odbcinst.ini
and odbc.ini
files
in /etc
, /usr/local/etc
,
$HOME
or other directory that depends on the system.
For Windows, use the ODBC administration tools and add a System DSN (data
source name).DBSource dbi:ODBC:datasourcename DBUsername user DBAuth password
goodies/sqlserver-sybaseCreate.sql
for more
information.
DBSource dbi:Sybase: DBUsername user DBAuth password
DBSource dbi:Sybase:server=SERVERNAME;database=DBNAMEYou may need to set SYBASE environment variable so that the Sybase libraries can find their interfaces library. Otherwise you may need to use directives. You may also need to set LD_LIBRARY_PATH, or similar, to $SYBASE/lib.
database
, which specifies the path name of the
file where the database is to be stored. DBUsername is the InterBase user
name, and DBAuth is the password for the InterBase user.goodies/ansiCreate.sql
for more
information.goodies/ansiCreate.sql
. Some SQL clauses require a
couple of little tweaks. Note that, for example, the name of the password
column is PASS_WORD. PASSWORD is a reserved word in
InterBase.DBSource dbi:InterBase:database=/path/to/your/database.gdb DBUsername username DBAuth password AuthSelect select PASS_WORD from SUBSCRIBERS where USERNAME=%0
goodies/ansiCreate.sql
for more
information.$INFORMIXDIR/etc/sqlhosts
file has correct
information.DBSource dbi:Informix:radius DBUsername user DBAuth password
subscribers
for the default AuthSelect. The first
line of a database file contains the names of the columns in the file. To
create a new database file, you need to create the text file with an
editor. A simple database file for subscribers that will work the default
AuthSelect in AuthBy SQL would be named subscribers
and it would look like this:USERNAME,PASSWORD mikem,fred jim,jim ...... <more lines, one per user> ......
DBSource dbi:CSV:f_dir=/your/data/dir;csv_eol=\012