When I try to use LOAD DATA INFILE, I got the following error: The MySQL server is running with the --secure-file-priv option so it cannot execute this statement. Which means I need to change the secure-file-priv value from NULL to empty. How can I change this secure-file-priv value? Where is it located?
There is a post related MySQL ERROR 1290 (HY000) --secure-file-priv option, however it does not answer my problem. I want to change secure_file_priv value on mac osX and that post just tells how to do it in CentOS and Windows. I have checked and there is no 'my.cnf' file in Mac osX.