Seaquel
MySQL error code

MySQL error 1766

MySQL server error 1766 is ER_VARIABLE_NOT_SETTABLE_IN_TRANSACTION, reported with SQLSTATE HY000.

The system variable %s cannot be set when there is an ongoing transaction.
Error1766
NameER_VARIABLE_NOT_SETTABLE_IN_TRANSACTION
SQLSTATEHY000
GroupServer errors

Source: MySQL 8.4 Error Reference