Configure a source MySQL database

If you're using MySQL as your source database, then you must set up change data capture (CDC) for your database.

To replicate your hosted MySQL tables, Datastream needs row-based replication and retention to be set up to be able to read your MySQL events.

Supported databases

Datastream works with the following types of MySQL databases:

  • Amazon RDS for MySQL
  • Amazon Aurora MySQL
  • Cloud SQL for MySQL
  • Self-managed MySQL

What's next

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-15 UTC.