mysql错误处理之ERROR 1665 (HY000)
程序员文章站
2024-03-01 13:43:16
error 1665 (hy000)
【环境描述】
msyql5.6.14
【报错信息】
执行sql语句的时候报错:
error 1665 (hy000)...
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模式。
推荐阅读
-
mysql错误处理之ERROR 1665 (HY000)
-
mysql错误处理之ERROR 1786 (HY000)
-
MySQL错误ERROR 2002 (HY000): Can't connect to local MySQL server through socket
-
MySQL ERROR 2013 (HY000)错误解决方法
-
mysql错误处理之ERROR 1665 (HY000)
-
mysql错误处理之ERROR 1786 (HY000)
-
mysql中一个普通ERROR 1135 (HY000)错误引发的血案
-
ERROR 2002 (HY000): Can't connect to local 博客分类: mysql
-
ERROR 1130 (HY000): Host 'localhost' 博客分类: mysql
-
mysql中一个普通ERROR 1135 (HY000)错误引发的血案