Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Error 1765: The system variable cannot be set in stored functions or triggers

Error Code
SQLSTATE
Error
Description

1765

HY000

ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRG

The system variable %s cannot be set in stored functions or triggers.

Before MariaDB 12.3, this error is ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRIGGER. The message is unchanged.

Possible Causes and Solutions

This page is licensed: CC BY-SA / Gnu FDL

Last updated

Was this helpful?