27.12.11.1 The replication_connection_configuration Table

This table shows the configuration parameters used by the replica for connecting to the source. Parameters stored in the table can be changed at runtime with the CHANGE REPLICATION SOURCE TO statement (from MySQL 8.0.23) or CHANGE MASTER TO statement (before MySQL 8.0.23).

Compared to the replication_connection_status table, replication_connection_configuration changes less frequently. It contains values that define how the replica connects to the source and that remain constant during the connection, whereas replication_connection_status contains values that change during the connection.

The replication_connection_configuration table has the following columns. The column descriptions indicate the corresponding CHANGE REPLICATION SOURCE TO | CHANGE MASTER TO options from which the column values are taken, and the table given later in this section shows the correspondence between replication_connection_configuration columns and SHOW REPLICA | SLAVE STATUS columns.

The replication_connection_configuration table has these indexes:

TRUNCATE TABLE is not permitted for the replication_connection_configuration table.

The following table shows the correspondence between replication_connection_configuration columns and SHOW REPLICA | SLAVE STATUS columns.

replication_connection_configuration ColumnSHOW REPLICA | SLAVE STATUS Column
CHANNEL_NAMEChannel_name
HOSTSource_Host
PORTSource_Port
USERSource_User
NETWORK_INTERFACESource_Bind
AUTO_POSITIONAuto_Position
SSL_ALLOWEDSource_SSL_Allowed
SSL_CA_FILESource_SSL_CA_File
SSL_CA_PATHSource_SSL_CA_Path
SSL_CERTIFICATESource_SSL_Cert
SSL_CIPHERSource_SSL_Cipher
SSL_KEYSource_SSL_Key
SSL_VERIFY_SERVER_CERTIFICATESource_SSL_Verify_Server_Cert
SSL_CRL_FILESource_SSL_Crl
SSL_CRL_PATHSource_SSL_Crlpath
CONNECTION_RETRY_INTERVALSource_Connect_Retry
CONNECTION_RETRY_COUNTSource_Retry_Count
HEARTBEAT_INTERVALNone
TLS_VERSIONSource_TLS_Version
PUBLIC_KEY_PATHSource_public_key_path
GET_PUBLIC_KEYGet_source_public_key
NETWORK_NAMESPACENetwork_Namespace
COMPRESSION_ALGORITHMS[None]
ZSTD_COMPRESSION_LEVEL[None]