0

I'm attempting to load a tab delimited file into my dataset by the following script:

LOAD DATA INFILE 'C:\ProgramData\MySQL\MySQL Server 8.0\Uploads\host_table_airbnb_new.txt'
INTO TABLE host;

SHOW VARIABLES 
LIKE "secure_file_priv";

But I'm getting an error as

Error Code: 1290 "secure_file_priv" is on.

I believe that my syntax is correct and my file is located in the correct prescribed location, but by some reason I cannot load my data.

Could you please help me to understand what and where I am doing wrong? Thanks.

Kate Orlova
  • 3,225
  • 5
  • 11
  • 35

0 Answers0