MySQL 8.0.31
Source Code Documentation
Protocol Basics

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