MySQL 8.4.2
Source Code Documentation
|
If the client wants to LOAD DATA
from a LOCAL
file into the server it sends:
The LOCAL
keyword triggers the server to set a LOCAL INFILE
request packet which asks the client to send the file via a LOCAL INFILE Data response
The client has to send the CLIENT_LOCAL_FILES capability flag.
Type | Name | Description |
---|---|---|
int<1> | packet type | 0xFB: LOCAL INFILE |
string<EOF> | filename | the path to the file the client shall send |