LoginSignup
4
3

More than 5 years have passed since last update.

General error: 1665 になる場合の対処

Posted at

環境

  • EC-CUBE3
  • Gentoo/Linux
  • MySQL5.6.17
  • PHP5.6.15

現象

EC-CUBE3 をインストール直後に、システムエラーとなり、以下のようなエラーメッセージが出ることがある。

General error: 1665 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.

対策

my.cnf に以下を追加し MySQL を再起動することで解消

my.cnf[mysqld]
binlog-format = MIXED

参考

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3