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
Data between client and server is exchanged in packets of max 16MByte size.
||Length of the payload. The number of bytes in the packet beyond the initial 4 bytes that make up the packet header.|
||[len=payload_length] payload of the packet|
looks like this: