My Oracle Support Banner

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.

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:

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.