JavaScript Editor Source code editor     What Is Ajax 

Main Page

B.2. Server Error Codes and Messages

MySQL programs have access to several types of error information when the server returns an error. For example, the mysql client program displays errors using the following format:

shell> SELECT * FROM no_such_table;
ERROR 1146 (42S02): Table 'test.no_such_table' doesn't exist

The message displayed contains three types of information:

Server error information comes from the following source files. For details about the way that error information is defined, see the MySQL Internals manual, available at

MySQL Enterprise.  MySQL Enterprise subscribers will find numerous articles about server error messages at, Error Messages. For information about subscribing to MySQL Enterprise see

Because updates are frequent, it is possible that those files will contain additional error information not listed here.

JavaScript Editor Source code editor     What Is Ajax