MySQL 8.0.39
Source Code Documentation
Protocol Basics

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