This error normally occurs when you run the ‘load data local infile’ command in mysql.
If you are seeing this error in shell, please check this link
If you are seeing this error while running a php script, here are the following things you can test.
I have a php script as follows for testing.
mysql_select_db(“abc_test”) or die(mysql_error());
$query =”LOAD DATA LOCAL INFILE ‘/home/abc/public_html/test.csv’ INTO TABLE abctesting”;
mysql_query($query) or die(mysql_error());
The file ‘test.csv’ contains some random input and if when this script runs, my database abc_test should populate the table abctesting with contents from the file ‘test.csv’
Unfotunately, when I ran this script over browser, I got the following ...Read More