Merging 2 phpMyFAQ's

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
sparhawk
Posts: 3
Joined: Fri Nov 16, 2007 5:19 pm

Merging 2 phpMyFAQ's

Post by sparhawk »

Hi there.

I have a little question about merging 2 FAQ's into one.

We are using 2 separate setups of phpMyFAQ for different departments and want to merge these to just one. I'm guessing it's possible to export/import tables from one to the other and copy over the data.

What I'm wondering is if there is any documentation about this or what tables needs to be copied, and how does the application handle the id-fields of the tables as I see it's not using auto-inc fields.

I'm guessing I will need to manually change the "copied" data's id-fields to something unique, starting after the id's of the target-tables for example.

Is this even doable? And do I risk messing this up to much by doing it? The data-table itself seems pretty strait forward but what about users and stuff? those tables I'm unsure of.

// Mattias
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

please write me an e-mail.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
sparhawk
Posts: 3
Joined: Fri Nov 16, 2007 5:19 pm

Post by sparhawk »

Any new on this or?

I'v been looking over the databases looking for relations between the tables but it is a bit confusing, but I guess I'll get it soon enough.
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

not yet, it will take some days. sorry!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
sparhawk
Posts: 3
Joined: Fri Nov 16, 2007 5:19 pm

Post by sparhawk »

Thats Ok, I had hoped there was some nice methods already in place. I didnt expect you to work something out accually but very much appritiate any help I can get.

I'm in the process of trying to figure out what connects to what and how I can renumber stuff without breaking the links so to speak, and which tables I accually need to move over to the "new" database.

Since we don't use all functionallity, for example we have no usercomments at all, and I figured I could skip merging adminlog for example. But well, I'm pretty much guessing. :)
Post Reply