1

Working on using the LOAD DATE INFILE syntax to import my csv files into my database. Using windows 10.

Originally when using this syntax I was getting ERROR 1290 which I resolved by adding: secure-file-priv = "" to the .ini file.

I no longer get ERROR 1290 but when i use:

LOAD DATA INFILE 'C:\Users\ovoJa\Downloads\VEN01_562.csv'  
INTO TABLE    venom  
FIELDS TERMINATED BY ','  
ENCLOSED BY '"' 
LINES TERMINATED BY '\n'

I get this ERROR 29:

File 'C:\ProgramData\MySQL\MySQL Server 8.0\Data\UsersovoJaDownloadsVEN01_562.csv' not found (OS errno 2 - No such file or directory)

Why is it still looking in the Programdata file for the .csv file?

2
  • try to use this C:\\Users\\ovoJa\\Downloads\\VEN01_562.csv Commented Mar 4, 2019 at 18:44
  • that worked for me! Thank you! Commented Mar 5, 2019 at 15:24

1 Answer 1

3

try to use this C:\\Users\\ovoJa\\Downloads\\VEN01_562.csv

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.