Runbook

MySQL Replica Not Running Properly

Back to Runbooks

Overview

This incident type refers to a problem with the MySQL database replica, where it is not functioning correctly and may be preventing full data replication. This issue needs to be investigated and resolved promptly to ensure data integrity and prevent any potential data loss.

Parameters

Debug

Check if MySQL is running

Check if the MySQL replica is running

Check the MySQL error log for any relevant errors

Check for any network connectivity issues

Check the MySQL configuration file for any relevant settings

Check the disk usage and available space on the replica server

Check the system logs for any relevant errors

Network issues preventing replication between primary and replica servers.

Repair

Check if replica_IO_running and replica_SQL_running are running

Determine whether there are any database schema changes that have been made on the master MySQL server that have not been replicated on the replica server.

Ensure that the replica is not overloaded and has sufficient resources to perform the replication task.

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.