DIGIT-ARC read-only archive · snapshot: July 23, 2026

Merging MySQL databases

5 posts · originally from https://geek.digit.in/community/threads/merging-mysql-databases.164570/

aaruni
aaruni Original post #1
Oct 11, 2012 at 6:39 PM
Can I merge two MySQL databases, with similar structures but different, and some overlapping data? If so, can anybody give detailed steps? I am a n00b...
RCuber
RCuber #2
Oct 11, 2012 at 6:54 PM
can you give us the two table structure and how the merged table should look like?

EDIT: you are talking about two different MySQL Databases or two different Tables?
aaruni
aaruni #3
Oct 11, 2012 at 7:15 PM
two diff databases...
Both were created by the smf installer. One is old (about 200 posts) and one is new (about 70 posts).
I want to merge them...

I can upload both the databases, if you want...
RCuber
RCuber #4
Oct 11, 2012 at 7:25 PM
are you trying to migrate data from one SMF version to another? you just want to merge the data ?

cause when merging indexes and ID's will get screwed up if done manually(atleast in your case as you are new to this). please post important tables/table structure you want to merge.
aaruni
aaruni #5
Oct 21, 2012 at 2:36 PM
I just wanted to merge the posts. Both the SMF are same versions (2.0.2)