【MySQL案例】ERROR 1665 (HY000)
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模式。
推荐阅读
-
mysql启动时出现ERROR 2003 (HY000)问题的解决方法
-
MySQL创建用户错误ERROR 1396 (HY000): Operation CREATE USER failed for 'XXXX'@'XXXX'问题解
-
MySQL案例02:(MyCAT报错) [ERROR][$_NIOREACTOR-3-RW] caught err: java.lang.OutOfM emo
-
MySQL服务器登陆故障ERROR 1820 (HY000)的解决方法
-
MySQL添加用户错误:ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value解决方法
-
MySQL问题记录——ERROR 1728 (HY000)
-
ERROR 1366 (HY000): Incorrect string value: '\xE9\x83\x91\xE5\xB7\x9E' for column 'aa' at row 1 MySQL 字符集
-
MYSQL ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.10.210' (111) 解决方法
-
MySQL错误 ERROR 2002 (HY000): Can't connect to local MySQL server through socket 的解决办法
-
mysql ERROR 1418 (HY000)如何解决?