Question: I receive the following error when using the LOAD DATA and SELECT...INTO OUTFILE commands: ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv

I receive the following error when using the LOAD DATA and SELECT...INTO OUTFILE commands: ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement I have done a lot of looking online, but everything seems to be geared toward Windows/WAMP users. I'm on a MAC and using MAMP so some of the files that come with WAMP and Windows don't exist for Mac users. Does anyone know how to resolve this issue?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!