您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

【MySQL案例】ERROR 1665 (HY000)

2025/5/30 22:20:13发布14次查看
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 engi
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模式。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product