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 ...
dev.mysql.com