LOAD DATA LOCAL INFILE 'my file location'
INTO TABLE customer FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 ROWS;
If I use the upload file location this error occurs.
Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
and if I put any other location this
Error Code: 2068. LOAD DATA LOCAL INFILE file request rejected due to restrictions on access. 0.000 sec
INTO TABLE customer FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 ROWS;
If I use the upload file location this error occurs.
Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
and if I put any other location this
Error Code: 2068. LOAD DATA LOCAL INFILE file request rejected due to restrictions on access. 0.000 sec