Skip to content

MysqldbHaReplicaConfigRole

Supported in v9.6+ User-intended role hint for a replica in an HA MySQL cluster. PRIMARY identifies the writable primary; REPLICA identifies a read replica. Used only as the initial seeded role - discovery confirms or corrects the actual role at runtime.

Values

Value Description
MYSQLDB_HA_REPLICA_CONFIG_ROLE_PRIMARY
MYSQLDB_HA_REPLICA_CONFIG_ROLE_REPLICA