If a MySQL client or server wants to send data, it:
Splits the data into packets of size (224–1) bytes
Prepends to each chunk a packet header
Data between client and server is exchanged in packets of max 16MByte size.
3 payload length 1 sequence id string[len] payload
looks like this:
01 00 00 00 01 -- length=0x01, sequence_id=0x00, command-byte=0x01
Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices