mysqldude

MySQL & MariaDB errors, explained and tested on every version

Type the error number or paste the message. Every page says which versions it applies to, and the fixes are run on real servers.

6,925error codes
9server versions tested
66tested guides
57releases parsed

Most searched errors

Browse all error codes →

What our version tests found

MariaDB 10.11.17+ loses rows

ALTER IGNORE TABLE … ADD PRIMARY KEY deletes every duplicated row instead of keeping one. Reported as MDEV-42382.

27 new reserved words in MySQL 8.0

AS rank, rows, groups, function now fail with 1064. See which words change on upgrade.

Same number, different error

165 error numbers mean different things in MySQL and MariaDB, mostly 4000–4999. Example: 4025.

utf8mb4 breaks fixed-width loads

LOAD DATA … FIELDS TERMINATED BY '' fails with 1406 on any utf8mb4 table, the default since MySQL 8.0.

Guides with version tables

All 66 guides →