MySQL :: MySQL Internals Manual :: 14 MySQL Client/Server Protocol https://dev.mysql.com/doc/internals/en/client-server-protocol.html