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 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:


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