エラー内容
|
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の以下の項目を変更する。
|
binlog-format = MIXED |
my.cnfの場所は以下のコマンドで調べることが可能。
|
mysql --help | grep my.cnf |
一番左のファイルが一番先に読み込まれるファイル。
my.cnfを変更したら再起動すること。