Skip to main content
Version: 1.8.0

MySQLCdcConn

class MySQLCdcConn(
uri: str,
credentials: UserPasswordCredentials | None = None,
cx_src_configs_mysql: dict | None = None,
)

Bases: CdcConn, MySQLConn

Categories: connections

MySQL CDC connection configuration.

Initialize a MySQLCdcConn instance.

Parameters

parameter
uri

The MySQL connection URI.

parameter
credentials

Optional user/password credentials for authentication.

parameter
cx_src_configs_mysql

Optional MySQL-specific connection configuration parameters.

Properties

property
credentialsUserPasswordCredentials | None

The credentials required to access the MySQL database. If no credentials were provided, it will return None.

property
cx_dst_configs_mysqldict

The destination configuration parameters for the MySQL connection.

property
cx_src_configs_mysqldict

The source configuration parameters for the MySQL connection.

property
enforce_connection_paramsbool

Whether to enforce connection parameters for the MySQL connection.

property
uristr

The URI of the database where the data is located.