3323
MySQLERRORNotableResource GroupsHIGH confidence
Invalid thread priority value for resource group
Production Risk
Low — DDL fails; no group is created.
How to reproduce
trigger — this will error
trigger — this will error
CREATE RESOURCE GROUP rg_bad TYPE = USER VCPU = 0 THREAD_PRIORITY = 10;
expected output
ERROR 3323 (HY000): Invalid thread priority value for resource group 'rg_bad'.
Fix
Use a valid priority
Use a valid priority
CREATE RESOURCE GROUP rg_ok TYPE = USER VCPU = 0 THREAD_PRIORITY = -5;
Why this works
USER groups accept -20 to 0; SYSTEM groups accept 0 to 19.
What not to do
✕
Sources
Official documentation ↗
MySQL 8.0 — 3323 ER_INVALID_THREAD_PRIORITY
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev