3319
MySQLERRORNotableResource GroupsHIGH confidence

Resource group not found

Production Risk

Low — statement fails; existing thread assignments are unaffected.

How to reproduce
trigger — this will error
trigger — this will error
SET RESOURCE GROUP rg_nonexistent;

expected output

ERROR 3319 (HY000): Resource group 'rg_nonexistent' doesn't exist.

Fix

Create the resource group

Create the resource group
CREATE RESOURCE GROUP rg_app TYPE = USER VCPU = 0-3 THREAD_PRIORITY = 0;

Why this works

The group must be created before it can be assigned to threads.

What not to do

Sources
Official documentation ↗

MySQL 8.0 — 3319 ER_RESOURCE_GROUP_NOT_FOUND

Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev

← All MySQL errors