MySQL Error Message
sql_slave_skip_counter can not be set when the server is
running with @@GLOBAL.GTID_MODE = ON. Instead, for each
transaction that you want to skip, generate an empty transaction
with the same GTID as the transaction
Reason for the Error
ER_SQL_SLAVE_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE
was removed after 8.0.22.