19.2. MySQL and MariaDB Previous topic Parent topic Child topic Next topic

In DBSource, driver name is “mysql”, and options is the database name. You can also specify the host where the server is running and the port number of the server. DBUsername is the database name to user, and DBAuth is not required.
To create a new database:
mysqladmin create radius
mysql radius <mysqlCreate.sql
Configure your SQL clause like this:
DBSource    dbi:mysql:radius
DBUsername  radius
DBAuth      password
Use buildsql like this:
buildsql -dbsource dbi:mysql:database
      -dbusername radius -dbauth password
The general format for DBSource is: