Skip to main content

MySQL

MySQL is an open-source relational database.

You can read from MySQL as follows, and write to any target supported by Striim. Typically, you will set up data pipelines that read from MySQL in two phases—initial load, followed by continuous replication—as explained in this concept article on Pipelines. T

  • For initial load, you can use Database Reader to create a point-in-time copy of the existing source MySQL dataset at the target.Database Reader

  • After the initial load has completed, you can start continuous replication by continuously reading the new data created in the same source MySQL dataset after the initial load was started, and then writing this new source data to the target.

    • For real-time continuous replication of new source data using CDC, you can use MySQL Reader.

    • If you choose not to enable CDC on the source database, you can use Incremental Batch Reader to read the new source data at regular intervals, allowing for continuous updates in near real-time.  Incremental Batch Reader differs from the CDC readers in several ways, including not capturing DELETE operations at the source (see the discussion in Incremental Batch Reader about INSERT, UPDATE, and DELETE operations).

Supported services

Striim supports reading from the following MySQL database services:

  • Generic MySQL (v5.5 and above) (self-managed; e.g., installed and managed on-premises or in a cloud VM)

  • Amazon Aurora for MySQL

  • Amazon RDS for MySQL

  • Azure Database for MySQL

  • Google Cloud SQL for MySQL

Striim UI wizards

You can read from MySQL using the wizards on the Striim UI:

  • Automated data pipelines

  • Initial Load only

  • CDC only