Is it possible to install drupal using an existing MySQL database that is currently utilized by PHPNuke? (This database actually houses two PHPNuke sites, each of which creates its own tables.) Or, do we need an entirely separate database? Thanks, David
On Thu, 26 May 2005, David Tannenbaum wrote:
Is it possible to install drupal using an existing MySQL database that is currently utilized by PHPNuke? (This database actually houses two PHPNuke sites, each of which creates its own tables.) Or, do we need an entirely separate database?
As long as you do not want to share the data, you should be fine. You will need to edit the table database.mysql to have a common prefix (say: drupal_) and put this prefix into settings.php.
Cheers, Gerhard
David Tannenbaum wrote:
Is it possible to install drupal using an existing MySQL database that is currently utilized by PHPNuke? (This database actually houses two PHPNuke sites, each of which creates its own tables.) Or, do we need an entirely separate database? Thanks, David
Yes, it is possible to install Drupal in an existing MySQL database that is shared with just about any other application, including PHPNuke. You will want to use the database table prefix capability to give all of the Drupal database tables unique names by prefixing them with some unique string.
You'll want to set $db_prefix in the settings.php file. There is some information about using it in that file, but you might also want to read the information at the links below.
http://drupal.org/node/2622 http://drupal.org/node/9466
-- Chris Johnson