ERR_Packet
The ERR_Packet is sent by the server to report an error, containing a numeric error code, SQL state marker, and a human-readable error message.
ERR_Packet indicates that an error occurred.
Fields
int<1>
ERR_Packetheader =0xFF.int<2> error code. see error list.
If (error code ==
0xFFFF) /* progress reporting */:int<1> stage.
int<1> max_stage.
int<3> progress.
string<lenenc> progress_info.
Else:
If (next byte = '#'):
string<1> sql state marker '#'.
string<5> sql state.
string<EOF> human-readable error message.
Else:
string<EOF> human-readable error message.
See also
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?

