I've two same MySQL databases present at two different servers. Initially both the databases have the exactly same structure and contained the same data.
But later on few new records(new users) got added to both the tables. This created the difference in the data present in these tables.
Now the issue is somehow the old data(which is present since when the structure and data of both the databases were same) from one table got tampered by some unauthorized means and in one field contains blank values.
Now I want that data back as of previous(like initial). For this I've to fire a query which would take the missing data from the same table from one server and add it to the same table on another server where the issue of data tampering occurred.
If there is some way by writing some script in PHP which could do this job that will also be fine for me.
Can some one please suggest me how should I achieve this?
If you want any more details regarding the issue I'm facing please do let me know.
Thanks.