<p>The NDB Cluster engine cannot change binlog_format while the server is running, triggering error 1561.</p>
<p>MySQL Error 1561: ER_NDB_CANT_SWITCH_BINLOG_FORMAT occurs when you try to change binlog_format in an NDB Cluster instance while MySQL is running. NDB only supports a fixed ROW format, so restart mysqld with --binlog-format=ROW (or remove NDB) to clear the error.</p>
The NDB cluster engine does not support changing the
Error 1561 is raised when a MySQL server running the NDB storage engine receives a request to change the global binlog_format variable after startup.
NDB Cluster requires binary logs to stay in ROW format for replication consistency. Because the engine cannot rewrite existing logs, MySQL rejects on-the-fly changes and throws ER_NDB_CANT_SWITCH_BINLOG_FORMAT.
The error surfaces most often during a SET GLOBAL binlog_format statement, a change through MySQL Workbench, or an automation script that toggles the format for logical backups.
It can also appear during an online configuration toggle in tools like Percona Toolkit or Cluster Manager if NDB tables exist.
Ignoring the error leaves binlog changes unapplied, which may break logical replication jobs or automated export workflows.
Repeated failed attempts can clutter logs, mask other replication problems, and waste operational time.
Running SET GLOBAL binlog_format=MIXED or STATEMENT while NDB tables are present triggers the error immediately.
Backup tools that switch to STATEMENT format for mysqldump compatibility will fail in NDB environments.
CM tools such as Ansible or Chef may attempt to align binlog_format across fleets without detecting the storage engine in use.
Appears when replication slaves cannot locate the next binlog because of format mismatches.
Occurs during restores when the dump file was created under a different binlog format.
Surfaces when statement replication tries to change NDB tables.
No. NDB does not allow dynamic binlog_format changes. A restart with the correct format is mandatory.
No. NDB Cluster requires ROW format to guarantee deterministic replication.
Yes. Migrating all NDB tables to InnoDB removes the restriction, allowing dynamic format changes.
Galaxy surfaces storage-engine metadata in the editor, alerts you before running unsafe SET statements, and can embed restart instructions into shared runbooks.