4 - Server Response Packets

Understand server response packets in MariaDB's client/server protocol. This section details the various types of packets sent by the server, including OK, Error, and Result Set packets.

For most commands which the client sends to the server, the server returns the following response packets:

Marks the end of a result set and returns status and warnings.

Indicates that an error occured.

If the client sends a LOAD DATA LOCAL INFILE statement via com_queryarrow-up-right, the server responds with LOCAL_INFILE_Packet to tell the client to send a specified file to the server.

Sent by the server to the client. Indicates a successful completion of a command sent by the client before.

The server sends multiple packets as part of a result set.

Data representing a database result set unit.

Last updated

Was this helpful?