我正在使用WSO2 API Manager 1.8和MySQL。我无缘无故地低于错误。
ERROR - JDBCResourceDAO Failed to delete the resource with id 758. Cannot execute statement: impossible to write to
binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. InnoDB is limited to row
-logging when transaction isolation level is READ COMMITTED or READ UNCOMMITTED.
java.sql.SQLException: Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses
a storage engine limited to row-based logging. InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UN
COMMITTED.
我该如何解决这个问题?
答案 0 :(得分:0)
由于在使用WSO2产品的Mysql DB上进行复制,会出现上述错误。
该问题有几种解决方案:
您需要将binlog模式更改为 ROW 或 MIXED ,以便将数据加载到数据库中
mysql> SET GLOBAL binlog_format = 'ROW';
如果您不打算使用MySQL服务器进行复制,请考虑通过删除二进制来关闭二进制日志 mysqld实用程序的命令选项中的选项
--log-bin
启动MySQL服务器。