1.1.1. ERROR 1665 (HY000)
【环境的叙述性说明】
msyql5.6.14
【报错信息】
运行SQL语句的时候报错:
ERROR 1665 (HY000): Cannot executestatement: impossible to write to binary log since BINLOG_FORMAT = STATEMENTand at least one table uses a storage engine limited to row-based logging.InnoDB is limited to row-logging when transaction isolation level is READCOMMITTED or READ UNCOMMITTED.
【报错原因】
innodb的事务隔离级别是read commited或者read uncommited模式时。binlog不能够使用statement模式。
【解决方法】
不重新启动mysql实例的解决方法:
set global binlog_format=mixed
又一次建立的谈话session于binlog format变mixed模式。
版权声明:本文博客原创文章,博客,未经同意,不得转载。