Documentation Home
MySQL Internals Manual
Download this Manual
EPUB - 0.8Mb


14.1.3.2 ERR_Packet

This packet signals that an error occurred. It contains a SQL state value if CLIENT_PROTOCOL_41 is enabled.

Payload
TypeNameDescription
int<1>header[ff] header of the ERR packet
int<2>error_codeerror-code
if capabilities & CLIENT_PROTOCOL_41 {
string[1]sql_state_marker# marker of the SQL State
string[5]sql_stateSQL State
}
string<EOF>error_messagehuman readable error message
Example

User Comments
Sign Up Login You must be logged in to post a comment.