BINLOG_FORMAT = STATEMENT

Caused by: 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 UNCOMMITTED.

 

今天在重启nbs manager的时候遇到的,就修改了下

SET SESSION binlog_format = 'ROW';
SET GLOBAL binlog_format = 'ROW';

具体原理表示不懂,不知道和ddb有什么关系

转载于:https://my.oschina.net/zwj0571/blog/335347

你可能感兴趣的:(BINLOG_FORMAT = STATEMENT)