jackyfkc.github.io

教土豆学计算机

Client/Server Protocol

Protocol Overview

Basic Data Types

MySQL Packets

There are two types of packets: compressed and non-compressed. Server response packets are divided into 4 categories: data packets, EOF packets, OK packets, and error message packets.

All packets share the common 4-byte header

Further Reading