MySQL Forums
Forum List  »  MySQL Workbench

Error 2068 suddenly appeared
Posted by: Gideon Engelbrecht
Date: September 28, 2020 12:20PM

I used this code last week and it worked, but now I am getting an error : Error Code: 2068. LOAD DATA LOCAL INFILE file request rejected due to restrictions on access.



LOAD DATA LOCAL infile 'D:\Wingerdbou\LutzvilleProgram\EzyWineData\composition.csv'
INTO TABLE ezycomposition2
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\r\n'
IGNORE 1 ROWS
(vessel,currvol);

show variables like "local_infile"; -> gives me a result ON
SHOW VARIABLES LIKE "secure_file_priv"; -> gives me a result D:\Wingerdbou\LutzvilleProgram\EzyWineData\

What am I missing? Thank you in advance.

Options: ReplyQuote


Subject
Views
Written By
Posted
Error 2068 suddenly appeared
7861
September 28, 2020 12:20PM
3479
September 28, 2020 01:47PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.