Unknown error (catch-all)
Production Risk
Variable — depends on the underlying cause.
ER_UNKNOWN_ERROR (1105, SQLSTATE HY000) is a generic catch-all error raised when MySQL encounters an error condition that does not map to a more specific error code. The error message often contains additional context.
- 1Internal server error not covered by a specific error code
- 2Plugin or storage engine returning an unrecognized error
- 3Undocumented edge case in a specific MySQL version
-- No specific trigger; appears in various unexpected situations
expected output
ERROR 1105 (HY000): Unknown error
Fix
Examine the full error message and MySQL error log
WHEN Always — the message text after "Unknown error" usually contains the real detail.
-- Check MySQL error log: SHOW VARIABLES LIKE 'log_error'; -- Review the log file for context around the timestamp of the error
Why this works
The MySQL error log often contains the stack trace or internal error detail that supplements the generic 1105 message.
✕ Ignore 1105 as a harmless catch-all
1105 can indicate genuine server bugs or plugin failures; always investigate the accompanying message text.
MySQL 8.0 — 1105 ER_UNKNOWN_ERROR
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev