I need to merge 2 mysql databases with java or python.
The databases are exactly the same in schema but data is different.
in terms of the query which i need to pass in java or python. Anything i should care about?
Would it be the case that i need to insert data to the table having foreign key first?
what is the strategy?