MySQL 9.0.0
Source Code Documentation
Protocol Basics

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