3362
MySQLERRORCommonServer ConfigurationHIGH confidence
Missing ICU regular expression library file
Production Risk
Critical — all regular expression queries fail server-wide.
How to reproduce
trigger — this will error
trigger — this will error
SELECT 'test' REGEXP 'te.*';
expected output
ERROR 3362 (HY000): ICU regexp library file is missing.
Fix
Reinstall MySQL to restore ICU data files
Reinstall MySQL to restore ICU data files
-- Run: apt-get install --reinstall mysql-server (or equivalent for your OS)
Why this works
Package manager restores all bundled files including ICU data to their correct locations.
What not to do
✕
Sources
Official documentation ↗
MySQL 8.0 — 3362 ER_REGEXP_MISSING_FILE
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev