MySQL 9.3.0
Source Code Documentation
Protocol Basics

This is a description of the basic building blocks used by the MySQL protocol: