MySQL Error number: 3746; Symbol: ER_TEMP_TABLE_PREVENTS_SWITCH_GLOBAL_BINLOG_FORMAT; SQLSTATE: HY000

文档解释

Error number: 3746; Symbol: ER_TEMP_TABLE_PREVENTS_SWITCH_GLOBAL_BINLOG_FORMAT; SQLSTATE: HY000

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

错误说明:

ER_TEMP_TABLE_PREVENTS_SWITCH_GLOBAL_BINLOG_FORMAT错误是一个MySQL错误,当有打开的持久临时表时,错误就会发生,提示不能修改全局日志格式。

常见案例

当有打开的持久临时表时,然后用户试图改动全局的binlog格式时,则可能引发此错误。

解决方法:

将打开的持久临时表删除掉,此时就可以修改全局的binlog格式了。

你可能感兴趣的