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
uriThe URI of the MariaDB database.
credentialsCredentials for authenticating with the database.
enforce_connection_paramsWhether to enforce connection parameters for the MariaDB connection. Applicable only for a connection to a MariaDB Destination. Defaults to True.
cx_src_configs_mariadbSource-specific configuration parameters for the MariaDB connection. Defaults to None.
cx_dst_configs_mariadbDestination-specific configuration parameters for the MariaDB connection. Defaults to None.
Properties
credentialsUserPasswordCredentials | NoneThe credentials required to access the MariaDB database. If no credentials were provided, it will return None.
cx_dst_configs_mariadbdictDestination-specific configuration parameters for the MariaDB connection.
cx_src_configs_mariadbdictSource-specific configuration parameters for the MariaDB connection.
enforce_connection_paramsboolWhether to enforce connection parameters for the MariaDB connection.
uristrThe URI of the database where the data is located.