Merging two databases for one site
-
I have built a new site for a client on a simple justhost account. I actually designed a complete replica of their existing site only I used a new theme (not template). The old site was running a much older version of wordpress.
Here is my (major) problem: The old site used a highly customized cart, membership manamgement system and Learning Management system. The old site also has many custom member-based fields, and about 25,000 members.
The site owners don’t want to change their cart, and want to retain their members. I was able to successfully export all posts from the old site and import via the native import/export tool. I then exported a complete SQL file at phpMyAdmin and imported it into the new site’s phpMyAdmin. So, in the new site, I can see the database that was created with the new WP install and design as well as the imported (old) WP database. I manually moved all plugins related to the cart, membership, etc.
So, how do I go about telling my new WP build to use both my newly created database (the one in which I created the new site with the new theme) and the old database (for the plugins, getting all the users to show up, etc.) I guess, I need to tell WP to use the new database for some things and the old one for some things – and keep them both for when wordpress needs to query them.
Currently, the new wordpress install can’t see the database…so is there a way to merge them into a hybrid – or dual database scenario? It would be easy if it were just a template change on the old site, but I have built a completely different site, different pages and different theme. I just need to keep the old plugin info/members/products/etc in the old database and get my new install to “see” them.
I know this is a more advanced question…but i have seen it done before. Just not by me ?? Thank you all so much in advance!
- The topic ‘Merging two databases for one site’ is closed to new replies.