HomeBrandsMySQLConnector / Client Librarycr_load_data_local_infile_rejected
M
cr_load_data_local_infile_rejected
Moderate
MySQL · Connector / Client Library
MySQL client error 2068: LOAD DATA LOCAL INFILE REJECTED.
Quick Answer
Error code CR_LOAD_DATA_LOCAL_INFILE_REJECTED on your MySQL Connector / Client Library means: MySQL client error 2068: LOAD DATA LOCAL INFILE REJECTED.. This is usually fixable — see the step-by-step guide below.
Affected Models
Likely Causes
  1. MySQL client emitted CR_LOAD_DATA_LOCAL_INFILE_REJECTED during connection/statement handling.
  2. Statement/result lifecycle state was invalid for the attempted fetch/read step.
  3. Result metadata or packet framing did not match what the client expected.
How to Fix It
1
Capture client and server logs for CR_LOAD_DATA_LOCAL_INFILE_REJECTED, including host, port, TLS mode, and statement context.
2
Reduce payload size or fetch window, then retest memory and truncation paths.
3
Align connector/client version with server expectations for metadata handling.
4
Validate client packet/result handling and statement lifecycle sequencing.
5
Track CR_LOAD_DATA_LOCAL_INFILE_REJECTED frequency by environment to detect regressions early.
Pro Tip
This fix requires some technical knowledge. If you're unsure about any step, consider contacting support or a qualified technician.
Related Error Codes
Video Guides
Loading video guides…
Search more on YouTube →