pub async fn connect(config: &MySqlCdcConfig) -> Result<Conn, ConnectorError>Expand description
Connects to a MySQL server using the provided configuration.
Builds connection options from the config and establishes a TCP connection.
ยงErrors
Returns ConnectorError::ConnectionFailed if the connection cannot be established.