Google Cloud MySQL

Last updated on Nov 14, 2024

Google Cloud SQL offers MySQL as a fully-managed web service. You can use Google Cloud SQL to host your MySQL database in Google Cloud Platform, and let Google Cloud handle administrative tasks such a replication, patch management, and database management for it.

You can ingest data from your Google Cloud MySQL database using Hevo Pipelines and replicate it to a Destination of your choice.


Source Considerations

  • MySQL does not generate log entries for cascading deletes. So, Hevo cannot capture these deletes for log-based Pipelines.

Limitations

  • Hevo only fetches tables from the MySQL database. It does not fetch other entities such as functions, stored procedures, views, and triggers.

    To fetch views, you can create individual Pipelines in Custom SQL mode. However, some limitations may arise based on the type of data synchronization, the query mode, or the number of Events. Contact Hevo Support for more details.

  • During the historical load, Hevo reads table definitions directly from the MySQL database schema, whereas for incremental updates, Hevo reads from the BinLog. As a result, certain fields, such as nested JSON, are parsed differently during historical and incremental loads. In the Destination tables, nested JSON fields are parsed as a struct or JSON during historical loads, but as a string during incremental loads. This leads to a data type mismatch between the Source and Destination data, causing Events to be sidelined.

    To ensure JSON fields are parsed correctly during the historical load, you can apply transformations to every table containing nested JSON fields. Contact Hevo Support for more details.


See Also


Revision History

Refer to the following table for the list of key updates made to this page:

Date Release Description of Change
Nov-18-2024 NA Renamed sub-section Enable BinLog replication to Enable BinLog replication and configure the Binlog retention period and added steps for configuring the BinLog retention period.
Jul-31-2024 NA Updated section, Limitations to add information about Hevo reading table definitions differently during historical and incremental loads.
Apr-29-2024 NA Updated section, Specify Google Cloud MySQL Connection Settings to include more detailed steps.
Mar-18-2024 2.21.2 Updated section, Specify Google Cloud MySQL Connection Settings to add information about the Load all CA certificates option.
Mar-05-2024 2.21 Added the Data Replication section.
Nov-03-2023 NA Renamed section, Object Settings to Object and Query Mode Settings.
Oct-27-2023 NA Updated subsection, Configuring the user account using MySQL client with the latest steps.
Sep-04-2023 NA Updated the page contents to reflect the latest Google Cloud MySQL user interface (UI).
Jun-26-2023 NA Added section, Source Considerations.
Apr-21-2023 NA Updated section, Specify Google Cloud MySQL Connection Settings to add a note to inform users that all loaded Events are billable for Custom SQL mode-based Pipelines.
Mar-09-2023 2.09 Updated section, Specify Google Cloud MySQL Connection Settings to mention about SEE MORE in the Select an Ingestion Mode section.
Dec-19-2022 2.04 Updated section, Specify Google Cloud MySQL Connection Settings to add information that you must specify all fields to create a Pipeline.
Dec-07-2022 2.03 Updated section, Specify Google Cloud MySQL Connection Settings to mention about including skipped objects post-Pipeline creation.
Dec-07-2022 2.03 Updated section, Specify Google Cloud MySQL Connection Settings to mention about the connectivity checker.
Nov-03-2022 NA Updated section, Create a Read Replica with new screenshots to reflect the latest UI.
Oct-13-2022 1.99 Updated section, Specify Google Cloud MySQL Connection Settings to reflect the latest UI changes.
Apr-21-2022 1.86 Updated section, Specify Google Cloud MySQL Connection Settings.
Aug-09-2021 NA Added a note in section, Option 2 Configuring the user account using MySQL client.
Jul-26-2021 1.68 Added a note for the Database Host field.
Jul-12-2021 NA Added section, Specify Google Cloud MySQL Connection Settings.

Tell us what went wrong