MySQLReplication
Replica status (run on the replica)
Check Replica_IO_Running, Replica_SQL_Running and Seconds_Behind_Source. SHOW REPLICA STATUS needs 8.0.22+; older versions use SHOW SLAVE STATUS.
Not yet verified. How scripts are tested
1SHOW REPLICA STATUS\G2 3-- MySQL before 8.0.224SHOW SLAVE STATUS\GPaste it into your query tool.