JDBCResourceDAO 无法删除 ID 为 - WSO2 API 管理器的资源

JDBCResourceDAO Failed to delete the resource with id - WSO2 API Manager

我在 MySQL 中使用 WSO2 API Manager 1.8。我无缘无故地低于错误。

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.

我该如何解决这个问题?

以上错误是由于使用 WSO2 产品在 Mysql 数据库上进行复制造成的。

根据ERROR 1598 (HY000): Binary Logging not Possible. Message: Transaction Level READ-COMMITTED in InnoDB is not Safe for Binlog Mode STATEMENT

There are several solutions for the issue:

  • You need to change the binlog mode to either ROW or MIXED in order to run the load of the data into the database

    mysql> SET GLOBAL binlog_format = 'ROW';
    
  • If you are not planning to use your MySQL server for the replication consider turning the binary logging off by removing the option --log-bin from the command options for the mysqld utility starting the MySQL server.