I tried to load a dataset to MySQL with the following code that includes my path:
LOAD DATA INFILE '\\Documents\\Anna_Projects\\Ex_Files_Database_Clinic_MySQL\\Exercise_Files\\Datasets\\CAproj_2010-2060.csv'
INTO TABLE pop_proj
FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n' IGNORE 1 LINES;
But I got an error message 1290 that MySQL server is running with secure-file-priv option. However, when I add LOCAL to LOAD DATA LOCAL INFILE, I got another error message that "no such file or directory". What is the best way for me to fix this? I am a MacBook user.