Documentation Home
MySQL Internals Manual

MySQL Internals Manual  /  ...  /  Describing Packets 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:


  direction: client -> server
  response: <response>

    <type>        <description>

    01 00 00 00 01

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


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
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.