MySQL & MariaDB error 4090 ER_CANT_EXECUTE_COMMAND_WITH_ASSIGNED_GTID_NEXT
Same number, two different errors. 4090 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLCan't execute the given command when @@SESSION.GTID_NEXT == 'UUID:NUMBER'.
MariaDB'…' is not a SEQUENCE