SELECT *
FROM contacts
INTO OUTFILE 'contacts.csv'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
I am running this query in sequel pro to dump a table in csv file. But it is giving me the error
"The MySQL server is running with the --secure-file-priv option so it cannot execute this statement"
As far as i know, there is no my.cnf file in mac os sierra. it justs runs with the default value. Can you please suggest me how to overcome this problem?