When setting up MySQL replication there are some things to
remember. Although the setup is quite easy if you thoroughly read
the documentation on MySQL's developer site you might still hit some
issues.
We have quite a large scale replication setup (MySQL 4.1.12) with
several hundred slaves. Today we saw a very strange situation:
All of the slaves stopped replicating and claimed that a
statement had been partially executed on the master side. The
exact message was
Query partially completed on the master (error on master: 1053)
and was aborted. There is a chance that your master is
inconsistent at this point. If you are sure that your master is
ok, run this query manually on the slave and then restart the
slave with SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1; START SLAVE;
The error code 1053 which means as much as "server shutdown".
We checked the master and could not …
[Read more]