How to re-sync the Mysql DB if Master and slave have different database incase of Mysql replication?
Mysql Server1 is running as MASTER . Mysql Server2 is running as SLAVE . Now DB replication is happening from MASTER to SLAVE . Server2 is removed from network and re-connect it back after 1 day. After this there is mismatch in database in master and slave. How to re-sync the DB again as after restoring DB taken from Master to Slave also doesn't solve the problem ? David Espart This is the full step-by-step procedure to resync a master-slave replication from scratch: At the master: RESET MASTER; FLUSH TABLES WITH READ LOCK; SHOW MASTER STATUS; And copy the values of the result of the last