I'm trying to load info from a txt file into table in my db.
I'm trying using this to do it.
$sql = mysql_query("LOAD DATA LOCAL INFILE 'C:\\apache\\htdocs\\fah\\daily_user_summary.txt' REPLACE INTO TABLE users IGNORE 2 LINES");
if (!$sql) { echo mysql_error(); }
I'm getting this error though.
The used command is not allowed with this MySQL version
Any help would be greatly appreciated.