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 SEPTEMBER 04, 2023
Applies to:
MySQL Server - Version 5.1 and laterInformation in this document applies to any platform.
Symptoms
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:
Changes
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.
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |