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


MySQL Internals Manual  /  ...  /  Describing Packets

14.1.1.3 Describing Packets

In this document we describe each packet by first defining its payload and provide an example showing each packet that is sent, including its packet header:

<packetname>
  <description>

  direction: client -> server
  response: <response>

  payload:
    <type>        <description>

  Example:
    01 00 00 00 01

The <type> describes the sequence of bytes of the packet:

Note

Some packets have optional fields or a different layout depending on the Protocol::CapabilityFlags that are sent as part of the Protocol::HandshakeResponse packet.

If a field has a fixed value, its description shows it as a hex value in brackets like this: [00]


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