linux impossible to write to binary log since BINLOG_FORMAT = STATEMENT

报错: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.

解决:手动修改linux下面/etc/my.cnf :  binlog_format = row  ,  然后重启mysql。如果/etc目录下没有my.cnf,可以找找mysql安装目录里面是否有该文件

猜你喜欢

转载自blog.csdn.net/qq_20867981/article/details/83104831