Clone this repo:


  1. 6c6b55f Create LICENSE by Preetam Jinka · 1 year, 10 months ago master
  2. 93e3dc2 Merge pull request #3 from VividCortex/update-5-7-13 by Fernando · 2 years, 7 months ago
  3. 27f47b9 Complete error list as of MySQL 5.7.13 by Fernando Papa · 2 years, 7 months ago
  4. 56fa190 Fix typo (where -> were) by Preetam Jinka · 3 years, 3 months ago
  5. 1ed522b Merge pull request #2 from VividCortex/1-add-errors-until-5.7.8 by Gustavo Kristic · 3 years, 3 months ago


MySQL Server Error Constants

Covers up to MySQL 5.7.13. Notice that some constants were renamed in later versions of MySQL, because they became obsolete. (In case you wonder: the names here match the symbols MySQL uses in source code.) Obsolete names haven‘t been changed in this package to avoid breaking code, but you should no longer be using them in applications. Here’s the full list of changes since this package's first version:

CodeThis packageMySQL (as of 5.7.8)