mysqldude

SQLSTATE values

Drivers (PDO, JDBC, ODBC) often report the five-character SQLSTATE instead of the MySQL error number. Each page lists the codes that map to it.