In my remote MySQL, when I try to execute this query, I am getting the MySQL Error Code : 13.
Query -
LOAD DATA INFILE
\'/httpdocs/.../.../testFile.
I too have struggled with this problem over the past few days and I too turned to stack overflow for answers.
However, no one seems to mention the simplest way to import data into MySQL is actually through their very own import data wizard tool!!
Just right-click on the table and it comes up there.
None of the above answers helped me, so just use this if you're stuck! :)