Hello

I read some tutorials and know how to install Drupal and Drupal database from scratch. Normally, when I run install/update script, Drupal will automatically create all needed tables for Drupal (and others).

My situation is: I have an application that uses an old database and now want to have a Drupal application for admin purpose that will use this old database. What I need is how to generate tables that are needed for Drupal.

Could you please tell me/or there is any tutorial for doing this

Many thanks
john

Comments

dman’s picture

You really would be best to use a fresh DB alongside the old one. It's not too hard.

BUT, if you like, you can try to go through the usual install process, and just point the drupal installer to the old credentials as long as there are no conflicting table names (like 'user')
To avoid conflicts, you can instead open the 'advanced' tab in the middle of the install process and create a 'prefix' - eg 'drupal_'

So ... this is totally possible within the usual install wizard, no code magic needed.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

johnhelen’s picture

Thanks for your fast reply