MySQL replication recovery
MySQL replication can stop if slave fails to execute SQL statement from the binary log. From that moment, slave prints last error and waits for replication recovery. If master has consistent snapshot,...
View ArticleHow to add a new MySQL slave
This post explains how to add a new slave to the existing MySQL replication. New slave server can be added to the MySQL replication without stopping master or shutting down existing slave server. You...
View ArticleMySQL query logging
Small tip of how to log all queries done by the MySQL server. It is very useful if you want to preview SQL requests from WordPress, Joomla or any other system or client. After logging is enabled,...
View ArticleMySQL replication - master migration
This cookbook explains how to move MySQL master server to another host. Scenario in short goes: dump out master databases, import data on the new master server and point slave to the new master server....
View ArticleFixing MySQL replication after slaves's relay log was corrupted
MySQL replication on slave (version 5.1.61) has stopped. Slave_IO_Running was marked as Yes, but Slave_SQL_Running as No. Simple stop/start slave didn't help so further problem analysis was needed. It...
View ArticleMySQL master full disk and replication problem
After /var partition on master MySQL server was full, replication has stopped working. Master server wasn't able to write new changes to the binlog file. Recovery procedure seems simple, clean /var...
View Article