Using MySQL on Mac OSX. When executing the following statement (from MySQl workbench), I met with the following error,
I tried to start MySQL manually using sudo /usr/local/mysql/support-files/mysql.server start without any options, but still have this error. Wondering if any solutions?
I searched some solutions and looks like on Windows there are some .ini config files, but have not found any solutions on Mac OSX. Thanks.
LOAD DATA INFILE '/Users/foo/Downloads/import.csv'
INTO TABLE tasks
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n';
Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement 0.0043 sec