Skip to main content
The MySQL Source Connector is a powerful and efficient solution designed to facilitate seamless data integration between your MySQL databases and Popsink. This connector helps you synchronize with MySQL in real-time, ensuring that your target systems remain updated with the latest information in real-time, driving business intelligence, analytics, and operational efficiency.

Prerequisites

  • Binary logging enabled with row-based format. See:
log_bin = ON
binlog_format = ROW
binlog_row_image = FULL
  • A user with the following privileges on the target source(s):
SELECT
RELOAD
SHOW DATABASES
REPLICATION SLAVE
REPLICATION CLIENT
  • Tables must use the InnoDB storage engine — MyISAM and other engines do not support transactional CDC reliably. Non-InnoDB tables are disabled in the table selection.

Key Features

  • Real-time Change Data Capture (CDC): the MySQL Source Connector employs a CDC mechanism using the native MySQL binlog, capturing and streaming changes (inserts, updates, and deletes) as they occur in your database.
  • Fault-tolerant and Scalable: The MySQL Source Connector is built with fault tolerance and scalability in mind. It is capable of resuming data replication from the last known offset in case of failures, ensuring data consistency and minimal downtime.
  • Initial Load: The connector automatically performs an initial full table load.
  • Advanced Filtering: The MySQL Source Connector provides a range of filtering options, including table and schema filters, allowing you to selectively replicate specific tables and schemas based on your needs.

Configuration

FieldRequiredDescription
HostYesHostname or IP address of the MySQL server
PortYesTCP port (default 3306)
DatabaseYesDatabase name to connect to
User / PasswordYesCredentials with replication and read access

Advanced Options

FieldDefaultDescription
Use TLStrueEncrypts the connection to MySQL
Trust Server CertificatetrueSkips certificate verification — useful for self-signed certificates
Initial LoadtrueFull snapshot of existing data before streaming binlog events; recommended for first-time setup

Connecting through an SSH Tunnel

If the database is only reachable through a bastion host, enable SSH Tunnel and provide:
FieldRequiredDescription
SSH HostYesHostname or IP of the bastion host
SSH PortYesSSH port (default 22)
SSH UserYesUser to authenticate as on the bastion
SSH Private KeyYesBase64-encoded private key for the SSH user

Table Selection

After a successful credential check, pick the tables to replicate from the discovered list. The selection is stored as a comma-separated whitelist.

Security

The connector supports SSL/TLS encryption for secure communication between the connector and your MySQL database.