Error 1838: The system variable cannot be set in stored procedures
Error Code
SQLSTATE
Error
Description
1838
HY000
ER_VARIABLE_NOT_SETTABLE_IN_SP
The system variable %s cannot be set in stored procedures.
Possible Causes and Solutions
This article doesn't currently contain any content. You can help!
This page is licensed: CC BY-SA / Gnu FDL
PreviousError 1837: When GTID_NEXT is set to a GTID, you must explicitly set it again after a COMMIT or ROLLNextError 1839: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_MODE = ON
Last updated
Was this helpful?
.png?alt=media&token=7e7f4c73-9972-4e67-9a1a-74dc18591022&width=260&dpr=4&quality=100&sign=760f8d93&sv=2)
.png?alt=media&token=ee5a45b3-d05b-4bb5-97d0-0f25c5eeb110&width=260&dpr=4&quality=100&sign=12bc3702&sv=2)