2002-09-10 17:04:05 +00:00
|
|
|
<title>Setting up a BOINC database</title>
|
|
|
|
<body bgcolor=ffffff>
|
|
|
|
<h2>Setting up a BOINC database</h2>
|
|
|
|
<p>
|
|
|
|
Each BOINC project uses a relational database to keep track of
|
|
|
|
participants, applications, work and results.
|
|
|
|
The BOINC release uses <a href=http://mysql.com>MySQL</a>.
|
2002-10-22 01:26:21 +00:00
|
|
|
You must use version 3.23 or greater;
|
|
|
|
previous versions have bugs that prevent BOINC from working correctly.
|
|
|
|
<p>
|
|
|
|
To use other SQL databases,
|
2002-09-10 17:04:05 +00:00
|
|
|
you will need to replace the files
|
|
|
|
db/mysql_util.C and db/db_mysql.C,
|
2002-10-22 01:26:21 +00:00
|
|
|
as well as some of the PHP files in html_user/.
|
2002-09-10 17:04:05 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
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.
|
|
|
|
|
|
|
|
<p>
|
|
|
|
The db/ directory contains the following SQL scripts:
|
|
|
|
|
|
|
|
<dl>
|
|
|
|
<dt>drop.sql
|
|
|
|
<dd>
|
|
|
|
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.
|
|
|
|
<dt> schema.sql
|
|
|
|
<dd>
|
|
|
|
Create the tables in a BOINC database.
|
|
|
|
<dt> constraints.sql
|
|
|
|
<dd>
|
|
|
|
Define the constraints and indices on a BOINC database.
|
2002-10-22 01:26:21 +00:00
|
|
|
</dl>
|