Where can I find the list of SQLException error codes for MySQL?

Ivan picture Ivan · Oct 17, 2011 · Viewed 20.5k times · Source

java.sql.SQLException offers an int getErrorCode() function so the program can know what in particular has happened to cause the exception. Any chance to get a list of these codes for MySQL?

Answer

BalusC picture BalusC · Oct 17, 2011