MySQL Error Message
Cannot set ENFORCE_GTID_CONSISTENCY = ON because there
are ongoing transactions that violate GTID consistency.
Reason for the Error
ER_CANT_SET_ENFORCE_GTID_CONSISTENCY_ON_WITH_ONGOING_GTID_VIOLATING_TRANSACTIONS
was renamed to
ER_CANT_ENFORCE_GTID_CONSISTENCY_WITH_ONGOING_GTID_VIOLATING_TX.