MySQL Error 4112 – ER_CREATE_SELECT_WITH_GIPK_DISALLOWED_IN_SBR

MySQL Error Message

Generating an invisible primary key for a table created
using CREATE TABLE … SELECT … is disallowed when
binlog_format=STATEMENT. It cannot be guaranteed that the SELECT
retrieves rows in the same order on source and replica. Therefore,
it cannot be guaranteed that the value generated for the generated
implicit primary key column will be the same on source and replica
for all rows. Use binlog_format=ROW or MIXED to execute this
statement.

Reason for the Error

ER_CREATE_SELECT_WITH_GIPK_DISALLOWED_IN_SBR
was added in 8.0.30.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

MySQL Error Message Could not read CA key file: %s Reason for the Error ER_X509_CANT_READ_CA_KEY was added in 8.0.2.
MySQL Error Message Read invalid event from master: ‘%s’, master could be corrupt but a more likely cause of this...
MySQL Error Message %s Reason for the Error ER_IB_MSG_315 was added in 8.0.11.