Using simple replication options with one MASTER and one SLAVE, how can you ensure full synchronization of SLAVE and MASTER?
Now yes, they both started with the same image, and the replication works and reports that everything is in order, BUT: * It so happened that there were errors stopping the replication, and then the replication had to be stopped and then resumed. * It is possible that changes to SLAVE accidentally occurred, and then this is not the same as MASTER. * Other scenarios that may disrupt synchronization.
Although it is possible to make a big mysqldump for both databases and compare the files, I will be interested in a method that can be implemented more easily, and can also be checked automatically so that everything is in sync.
thanks
Collector
source share