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