mysql_replica_status
Check replica lag, IO/SQL thread state, and last replication errors to diagnose MySQL replication issues without exposing data.
Instructions
Replica lag, IO/SQL thread state, last IO/SQL error.
SHOW REPLICA STATUS (8.0.22+) or SHOW SLAVE STATUS (older). Replication
channel metadata only, never binlog row contents. is_replica: false
with empty rows is the normal result on a standalone/primary server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||