MySQL Server Error Log Contains: [Warning] Unsafe Statement Written to the Binary Log Using Statement Format Since BINLOG_FORMAT = STATEMENT
(Doc ID 1507801.1)
Last updated on FEBRUARY 27, 2020
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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document