Restoring broken MySQL Replication

Sooner or later your MySQL replication will probably go boom. Here’s how to fix it:

  1. Stop Slave;
  2. SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1;
  3. Start Slave;
  4. Show slave Status;

If this is a constant issue, you can use the slave-skip-errors in the my.cnf file, skipping either specific errors or all errors.

Comments are closed.

-->