AW: sementation fault
Uwe Driessen
driessen at fblan.de
Mon Aug 1 18:08:12 CEST 2005
> -----Ursprüngliche Nachricht-----
> Von: freeradius-users-bounces at lists.freeradius.org
> [mailto:freeradius-users-bounces at lists.freeradius.org] Im
> Auftrag von vicky
> It tries to insert to a table 'radpostauth' that doesn't
> exist and further more there are no tables at all in the
> database. Is that normal?
>
> Please help me shed some light on this,
>
Generate the Database and make sure the rigth connect infos in the sql.conf
Read : http://www.frontios.com/freeradius.html
Setting up the RADIUS database in MySQL
First, you should a new empty 'radius' database in MySQL and login user with
permissions to that database. You could of course call the database and the
user anything you like but we'll stick to 'radius' for both for the purposes
of this discussion
Next up, you need to create the schema for the database. There is a file
which describes this and is actually a SQL script file. It can be found at
/src/modules/rlm_sql/drivers/rlm_sql_mysql/db_mysql.sql where you untar'd
FreeRadius. This is the bit that, at least at the time I originally wrote
these notes, wasn't really documented anywhere and was the thing most people
seemed to be asking.
How you run that script is up to you and how you like to admin MySQL. The
easiest way is to:
mysql -uroot -prootpass radius < db_mysql.sql
...where 'root' and 'rootpass' are your mysql root name and password
respectively.
Mit freundlichen Grüßen
Drießen
Es liegt was in der Luft
www.feilbingert.net
Uwe Drießen
Software & Computer
Lembergstraße 33
67824 Feilbingert
Tel.: 06708 660045 Fax 06708 661397
www.edv-driessen.de
More information about the Freeradius-Users
mailing list