How to re-sync the Mysql DB if Master and slave have different database incase of Mysql replication?

前端 未结 14 991
小蘑菇
小蘑菇 2020-11-29 14:20

Mysql Server1 is running as MASTER.
Mysql Server2 is running as SLAVE.

Now DB replication is happeni

14条回答
  •  我在风中等你
    2020-11-29 14:47

    Unless you are writing directly to the slave (Server2) the only problem should be that Server2 is missing any updates that have happened since it was disconnected. Simply restarting the slave with "START SLAVE;" should get everything back up to speed.

提交回复
热议问题