Command packet

A Command packet is used for almost all the MySQL commands available, namely: 

Properties


This is the most common type of request sent by the client. Most of the commands are considered obsolete but still supported by many MySQL implementations. 

QUERY, STMT_PREPARE, STMT_FETCH, STMT_RESET and STMT_CLOSE are the most frequent commands.

The STMT_EXECUTE command is implemented by its own packet type (StmtExecute).