MySQL Error Message
Changing @@global.binlog_format or
@@persist.binlog_format is disallowed when any replication channel
has open temporary table(s). You could wait until
Replica_open_temp_tables = 0 and try again
Reason for the Error
ER_TEMP_TABLE_PREVENTS_SWITCH_GLOBAL_BINLOG_FORMAT
was added in 8.0.13.