MySQL Server Error Log Contains: [Warning] Unsafe Statement Written to the Binary Log Using Statement Format Since BINLOG_FORMAT = STATEMENT
Last updated on SEPTEMBER 11, 2017
Applies to:MySQL Server - Version 5.1 and later
Information in this document applies to any platform.
When executing a query like INSERT ... ON DUPLICATE KEY ... for a table with more than one unique key, the following warning is written to the error log:
Either of the following changes may trigger the warning to start occuring:
- MySQL has been upgraded from MySQL 5.0 or earlier to MySQL 5.1 or later.
- The binary log format (binlog_format) has been changed from ROW or MIXED to STATEMENT.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms