MariaDB Error 1841 – ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY

In this post, you’ll learn more about the MariaDB Error 1841 ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY with the details of the error message and why you receive this error

Maria DB Error Description

MariaDB Error 1841 – ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY with the sqlState HY000

Error Description for the MariaDB Error ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY

@@GLOBAL.GTID_PURGED can only be set when there are no ongoing transactions (not even in other clients).