The default MySQL engine type is MyISAM,
mysql>showengines;
The transaction isolation mechanism is: read-committed (/etc/my.cnf view)
Default Build table if the engine type is not specified, it is automatically myisam. You want to change the table to InnoDB type at this time. The user logs on to the MySQL client to perform:
Mysql>alter table ATT engine =innodb;
The error:
ERROR 1598 (HY000): Binary logging not possible. Message:transaction level ' read-committed ' in InnoDB are not safe for binlogmode ' STATEMENT '.
Workaround:
Run the command: SET SESSION TRANSACTION isolation level repeatableread;
The above method is not a cure for symptoms!
This method forcibly modifies the engine type of the table, causes the table to insert data to fail, and still prompts the error:
Binary logging not possible. Message:transaction level ' read-committed ' in InnoDB are not safe for Binlog mode ' STATEMENT '.
Workaround:/etc/my.cnf Add Parameters:
Binlog_format =row
Innodb_locks_unsafe_for_binlog =1
Error modifying MySQL table engine type