ERROR 1665 (HY000): Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT

mysql> insert emp values ('sss',null,null,null);
ERROR 1665 (HY000): 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.

mysql>


把my.cnf中binlog格式改为混合模式:

 # binary logging format - mixed recommended
binlog_format=mixed

你可能感兴趣的:(MySql)