環境
- 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