Setting up a BOINC database

Each BOINC project uses a relational database to keep track of participants, applications, work and results. The BOINC release uses MySQL. (To use other SQL databases, you will need to replace the files db/mysql_util.C and db/db_mysql.C, as well as some of the PHP files in html_user/).

You must choose a name for your BOINC database. A single host can be used for several BOINC databases, but they must have distinct names.

The db/ directory contains the following SQL scripts:

drop.sql
Delete a BOINC database and create a new (empty) database. The token BOINC_DB_NAME represents the name of the database and should be replaced by the appropriate string.
schema.sql
Create the tables in a BOINC database.
constraints.sql
Define the constraints and indices on a BOINC database.