MySQL Error 4017 – ER_USING_ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_AS_LOCAL_OR_UUID

MySQL Error Message

Using ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS creates
limitations on the replication topology – you cannot fail over
between downstream and upstream servers. Only use this option if
it is not possible to enable GTIDs on the source, for instance,
because of lack of permissions. If possible, use the procedure for
enabling GTID transactions online instead, as described in the
documentation.

Reason for the Error

ER_USING_ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_AS_LOCAL_OR_UUID
was added in 8.0.23.