Project

General

Profile

Reconfigure the database » History » Version 6

Amber Herold, 10/29/2010 04:11 PM

1 1 Amber Herold
h1. Reconfigure the database
2
3
# Drop the databases if they exist
4
 
5
<pre>
6
mysql -h localhost -u root
7
8
show databases;
9
</pre>
10
If you see:
11 3 Amber Herold
_projectdb
12
leginondb_
13 1 Amber Herold
<pre>
14
drop database projectdb;
15
drop database leginondb;
16
</pre>
17
# Create the databases 
18
<pre>
19
create database projectdb;
20
create database leginondb;
21
</pre>
22
# Copy config.php to */var/www/html/myamiweb*
23
&nbsp;
24
# Point your web browser to http://localhost/myamiweb/setup
25
## The database username is *root*
26
## There is no database password. Leave this field empty.
27 6 Amber Herold
## Click *Next* on each page without making any changes.
28
## Eventually, you will see a button to *Create Web Tools Config*. Click on this button, and ignore the Apache User error.
29
## Click on the *DB Initialization* button.
30
## Click *Next*.
31
## Click *Next* to insert default values.
32
## You will need to enter information for the Adminstrator Appion user. You may enter any password and your email address. 
33
## When this completes, you may start using Appion, or may continue with the following steps to insert a sample project into the database which can be used for processing with Appion.
34
# Delete the sample images folder
35
<pre>
36
cd /myamiImages/leginon
37
rm -rf sample
38
</pre> 
39
40
41
## http://localhost/myamiweb/setup/autoInstallSetup.php?password=*{your root password}*