MySQL 9.5.0
Source Code Documentation
Client/Server Protocol

Overview

The MySQL protocol is used between MySQL Clients and a MySQL Server. It is implemented by:

  • Connectors (Connector/C, Connector/J, and so forth)
  • MySQL Router
  • Communication between source and replica replication servers
  • MySQL Group Replication
  • The Clone Plugin for cloning servers

The protocol supports these features:

  • Transparent encryption using TLS
  • Transparent compression
  • A Connection Phase where capabilities and authentication data are exchanged
  • A Command Phase which accepts commands from the client and executes them

Further reading: