provato cosa?
questo l'hai provato?
Here is what worked for me in Windows 7 to disable secure-file-priv (Option #2 from vhu's answer):
- Stop the MySQL server service by going into services.msc.
- Go to C:\ProgramData\MySQL\MySQL Server 5.6 (ProgramData was a hidden folder in my case).
- Open the my.ini file in Notepad.
- Search for 'secure-file-priv'.
- Comment the line out by adding '#' at the start of the line.
- Save the file.
- Start the MySQL server service by going into services.msc.