1105
MariaDBERRORNotableServerMEDIUM confidence

Unknown error (catch-all)

Production Risk

Variable — depends on the underlying cause.

What this means

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.

Why it happens
  1. 1Internal server error not covered by a specific error code
  2. 2Plugin or storage engine returning an unrecognized error
  3. 3Undocumented edge case in a specific MySQL version
How to reproduce
trigger — this will error
trigger — this will error
-- 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.

Examine the full error message and MySQL error log
-- 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.

What not to do

Ignore 1105 as a harmless catch-all

1105 can indicate genuine server bugs or plugin failures; always investigate the accompanying message text.

Sources
Official documentation ↗

MySQL 8.0 — 1105 ER_UNKNOWN_ERROR

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

← All MariaDB errors