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"
Last updated on NOVEMBER 29, 2017
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms