Seaquel
MySQL error code

MySQL error 1838

MySQL server error 1838 is ER_VARIABLE_NOT_SETTABLE_IN_SP, reported with SQLSTATE HY000.

The system variable %s cannot be set in stored procedures.
Error1838
NameER_VARIABLE_NOT_SETTABLE_IN_SP
SQLSTATEHY000
GroupServer errors

Source: MySQL 8.4 Error Reference