LOCAL_INFILE Packet
LOCAL_INFILE Packet
If the client sends a LOAD DATA LOCAL INFILE command via com_query, the server responds with LOCAL_INFILE_Packet to tell the client to send a specified file to the server.
Fields
Client response
The client sends the file as the packet body. If the file is large, the contents are sent in multiple separate packets. After the file is sent, the client must send an empty packet to indicate that no more data will follow.
Once the client has finished sending the file, the server will respond with an OK_packet or an ERR_packet.
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?