My Oracle Support Banner

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:


To view full details, 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 a vibrant support community of peers and Oracle experts.