Customization

Adding tables prefixes to an existing database

The other day, I was about to add a gallery2 installation and a PHPlist to an already-functioning Drupal 5.2 site, and I realized that if I ever wanted to use PHPmyAdmin to do stuff in this database's tables ever again, I needed to add some sort of prefixing to the Drupal tables first. You see, both of those apps use prefixing on their tables, so to keep my Drupal install's tables from being scattered, I had to prefix them as well, here's how I did it...

Syndicate content