Project

General

Profile

Reconfigure the database » History » Version 4

Amber Herold, 10/29/2010 03:19 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
&nbsp;
18
# Create the databases 
19
<pre>
20
create database projectdb;
21
create database leginondb;
22
</pre>
23
# Copy config.php to */var/www/html/myamiweb*
24
&nbsp;
25
# Point your web browser to http://localhost/myamiweb/setup
26
## The database username is *root*
27
## There is no database password. Leave this field empty.
28
## Click next without making any changes to the last page of the wizard.
29
##