Karakas Online

3.2.4. Database creation

Create a database that will contain the PHP-Nuke tables. The name of the database should be the same name as the one you entered in config.php (see Section 3.7):

mysqladmin create nuke

To populate the database, you have to run the nuke.sql file "through" mysql. Change to the sql directory and do from the command line:

mysql -h dbhost -u dbuname -p dbname < nuke.sql

where dbhost, dbuname and dbname are the database host, database username and database name, exactly as entered in config.php. Just as you import nuke.sql, you can import any other MySQL dump file (see also Section 3.4.2).

Last updated Sun Aug 7 21:14:12 CEST 2005 Permalink: http://www.karakas-online.de/EN-Book/database-creation.html All contents © 2004 Chris Karakas, Claudio Erba