Skip to main content
Version: 1.8.0

MariaDBConn

class MariaDBConn(
uri: str,
credentials: UserPasswordCredentials | None = None,
enforce_connection_params: bool = True,
cx_src_configs_mariadb: dict | None = None,
cx_dst_configs_mariadb: dict | None = None,
)

Bases: Conn

Categories: connections

Represents a connection configuration to MariaDB.

Initialize a MariaDBConn instance.

Parameters

parameter
uri

The URI of the MariaDB database.

parameter
credentials

Credentials for authenticating with the database.

parameter
enforce_connection_params

Whether to enforce connection parameters for the MariaDB connection. Applicable only for a connection to a MariaDB Destination. Defaults to True.

parameter
cx_src_configs_mariadb

Source-specific configuration parameters for the MariaDB connection. Defaults to None.

parameter
cx_dst_configs_mariadb

Destination-specific configuration parameters for the MariaDB connection. Defaults to None.

Properties

property
credentialsUserPasswordCredentials | None

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

property
cx_dst_configs_mariadbdict

Destination-specific configuration parameters for the MariaDB connection.

property
cx_src_configs_mariadbdict

Source-specific configuration parameters for the MariaDB connection.

property
enforce_connection_paramsbool

Whether to enforce connection parameters for the MariaDB connection.

property
uristr

The URI of the database where the data is located.