MariaDB Error 1792 – ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION

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

Maria DB Error Description

MariaDB Error 1792 – ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION with the sqlState 25006

Error Description for the MariaDB Error ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION

Cannot execute statement in a READ ONLY transaction.