Project

General

Profile

Create a Processing Database » History » Version 6

Amber Herold, 05/09/2011 03:57 PM

1 4 Anchi Cheng
h1. Create a Processing Database for the Project
2 1 Amber Herold
3 5 Amber Herold
* Click on a project name on the webpage `http://your_host/myamiweb/project/project.php`. This will take you to a new webpage `http://your_host/myamiweb/project/getproject.php?pId=1`.  The number following "pId=" depends on the project id automatically assigned to the project.
4 2 Amber Herold
* At the end of the Info table, you should see:
5 1 Amber Herold
6
<pre>
7
processing db: not set (create processing db) db name ap1
8
</pre>
9
10
You can create the default numbered style database ap... or give it a new name with the same prefix.  If you want to specify a database name that does not use the default prefix, please note that your db user specified in the config.php in project_1_2 needs to have the necessary privileges for that database.  You may additionally want to change the value assigned to $DEF_PROCESSING_PREFIX in project_1_2/config.php if you want to use your new prefix all the time.
11 2 Amber Herold
* Enter the processing database name and click "create processing db".
12
* The page should refresh and display the linked database like this:
13 1 Amber Herold
14
<pre>
15
processing db: ap1
16
</pre>
17
18
See next section on trouble shooting if you get the original page instead.
19
20
* *Repeat the above process for all your projects.*
21
22
If you want all your processing databases combined in one single database (not recommended, as this becomes large very fast), just use the same name for all your projects.
23
24
The above procedure not only creates the database, but also create some of the tables that you need to start processing.