3372
MariaDBERRORCommonInnoDB / TablespacesHIGH confidence
Undo log encryption error
Production Risk
Critical — undo log errors can prevent transaction rollback and crash recovery.
How to reproduce
trigger — this will error
trigger — this will error
-- Triggered internally when innodb_undo_log_encrypt=ON and keyring fails.
expected output
ERROR 3372 (HY000): Undo log encryption error occurred.
Fix
Rotate InnoDB master key
Rotate InnoDB master key
ALTER INSTANCE ROTATE INNODB MASTER KEY;
Why this works
Generates a fresh master key and re-encrypts tablespace keys, resolving stale or missing key references.
What not to do
✕
Sources
Official documentation ↗
MySQL 8.0 — 3372 ER_UNDO_LOG_ENCRYPT_ERROR
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev