Daily Archives: December 29, 2010

How to Avoid Replicating Statements in MySQL

By | December 29, 2010

If a replication slave gets out of sync with the master, you can bring them back in sync by running statements that don’t execute on every server in the replication chain. There are sane and insane ways to do this. The right way is to execute SET SESSION sql_log_bin=0; on your current connection before running… Read More »