MySQL :: MySQL 5.7 Reference Manual :: 25.12.11.2 The replication_connection_status Table (original) (raw)

25.12.11.2 The replication_connection_status Table

This table shows the current status of the replication I/O thread that handles the replica's connection to the source.

Compared to thereplication_connection_configuration table,replication_connection_status changes more frequently. It contains values that change during the connection, whereasreplication_connection_configuration contains values which define how the replica connects to the source and that remain constant during the connection.

The replication_connection_status table has these columns:

TRUNCATE TABLE is not permitted for thereplication_connection_status table.

The following table shows the correspondence betweenreplication_connection_status columns and SHOW SLAVE STATUS columns.

replication_connection_status Column SHOW SLAVE STATUS Column
SOURCE_UUID Master_UUID
THREAD_ID None
SERVICE_STATE Slave_IO_Running
RECEIVED_TRANSACTION_SET Retrieved_Gtid_Set
LAST_ERROR_NUMBER Last_IO_Errno
LAST_ERROR_MESSAGE Last_IO_Error
LAST_ERROR_TIMESTAMP Last_IO_Error_Timestamp