LOAD DATA LOCAL INFILE Fails After Upgrading to 8.0.2+ or Disabling local_infile: "ERROR 1148 (42000): The used command is not allowed with this MySQL version"
(Doc ID 2283337.1)
Last updated on MAY 14, 2018
Applies to:MySQL Server - Version 4.0 and later
Information in this document applies to any platform.
When attempting to use the LOAD DATA LOCAL INFILE statement to import data into a table, it fails with the error:
The issue will start after either:
- Upgrading to MySQL 8.0.2 or later using the default value of the local_infile option.
- Disabling the local_infile option.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!