錯誤:
1 | ERROR Log: binary logging not possible. message: transaction level 'read-committed' in innodb is not safe for binlog mode 'statement' |
原因: 當 binlog_format 為 statement 時, read committed 會發生錯誤!!!
解決: (推薦方法4)
1 | 方法1.mysql> set session transaction isolation level REPEATABLE READ ; REPEATABLE READ ; |
參考: http://havefundb.blogspot.com/2010/10/mysql-innodb-binlog-mode_14.html