I'm doing load data infile with MySQL on OSX El Capitan, however, the following error happened:
ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
I try to fix it my modify my.cnf or use any .cng in /usr/local/mysql/support-files to create a my.cnf file. But there isn't any file with .cnf extension. Here is file list in /usr/local/mysql/support-files:
magic mysql.server
mysql-log-rotate mysqld_multi.server
Could any body provide me the path to .cnf in OSX?