Skip to content

MySQL availability

Use this runbook for MySQLDown.

Checks

systemctl status mysql --no-pager
mysqladmin ping

Check the mysqld_exporter target as well. A database can be healthy while the exporter is unavailable, and vice versa.

Remediation

Follow the database service's normal recovery procedure. Do not restart MySQL repeatedly without checking the MySQL error log and recent system events.

Verify

Confirm MySQL accepts connections, the exporter reports mysql_up == 1, and Prometheus marks the target healthy.