How to re-sync the MySQL DB if Master and Slave (replication) ?

This is the full step-by-step procedure to resync a master-slave replication from scratch: At the master: And copy the values of the result of the last command somewhere. Without closing the connection to the client (because it would release the read lock) Continue reading How to re-sync the MySQL DB if Master and Slave (replication) ?