Troubleshooting the Openflow Connector for MySQL

This topic describes how to troubleshoot common issues with the Openflow Connector for MySQL.

Every column is dropped and re-added after a schema change

On runtimes earlier than Runtime Extensions 2026.11.10.8, when Object Identifier Resolution is case-sensitive and the QUOTED_IDENTIFIERS_IGNORE_CASE parameter is TRUE for the connector’s session, the connector can’t match the uppercase column names that Snowflake reports. It treats every source column as missing and every stored column as removed, and runs a rename-and-re-add cycle on the destination table.

Solution

Upgrade the runtime to Runtime Extensions 2026.11.10.8 or later. For more information, see Manage Openflow.

The connector fails when reading a DML event

The connector fails on the first DML event that contains a partial row image, and stops replicating all tables. This happens even though SHOW VARIABLES LIKE 'binlog_row_image' returns FULL.

When you change binlog_row_image on a running server without restarting it, for example with SET GLOBAL, SET PERSIST, or a server parameter change on a managed service, existing connections and the replication applier keep the old value and continue to write partial (MINIMAL or NOBLOB) row images to the binary log:

  • On a replica with log_replica_updates set to ON, replication keeps writing row images with the old value until you restart replication or the server. The replica reports FULL, but the binary log that the connector reads still contains partial row images.
  • On a primary, new connections use the new value, but connections that were opened before the change keep the old value. Applications with long-lived connections, such as connection pools, continue to write partial row images.

Solution

  1. Set binlog_row_image to FULL persistently, so that the value survives a restart. For example, use SET PERSIST, set it in the MySQL option file, or set it in the server parameters of your managed service. A value set only with SET GLOBAL reverts at the next restart.
  2. Restart the MySQL server so that everything that writes to the binary log uses FULL.

If you can’t restart the server, make sure that the value is persisted as described in step 1, and then do the following:

  • On a replica, restart replication so that it picks up the new value.
  • On a primary, reconnect or restart the applications whose connections were opened before you changed the value.

Important

Changing the setting doesn’t affect the events that are already in the binary log. To resume replication, replace the connector with a new instance that starts from a fresh snapshot. Don’t use the procedure for reinstalling the connector, because it resumes from the failing event. For more information, see Recover the connector after changing.

Recover the connector after changing binlog_row_image

After everything that writes to the binary log uses FULL, replace the connector with a new instance and reingest all tables:

  1. Stop the existing connector.
  2. Create a new instance of the connector. Don’t import a flow definition exported with component state, because the connector would resume from the failing event.
  3. Make sure that the Ingestion Type parameter is set to full, which is the default, so that the connector takes a full snapshot of each table before it switches to incremental replication. If the parameter is set to incremental, the connector doesn’t snapshot the tables and replicates only the changes made after the starting position.
  4. Make sure that the Starting Binlog Position parameter is set to Latest, which is the default. If you set it to Earliest, the connector reads the events with partial row images again and fails.
  5. Start the new connector.

You don’t need to drop the destination tables. The new instance re-snapshots each table in place, which preserves the destination table object along with dependent objects such as streams. Before it loads the fresh snapshot, the connector saves a copy of the previous contents in an archive table named <destination_table>_ARCHIVE_<timestamp>, which you can drop after you confirm that the re-snapshot completed. For more information, see Restart table replication.

The journal tables of the old connector remain in Snowflake. To remove them, see Reclaim journal table storage.