I've got an Ubuntu server where there's a task to import a csv file. Generally everything runs smoothly but every once in a while I get an error:
Mysql::Error: The used command is not allowed with this MySQL version: \n LOAD DATA LOCAL INFILE
I don't think the error is accurate as the same import script runs most of the time. Rebooting the server and rerunning the script "fixes" the issue. Still, that doesn't seem like a long-term solution. What else could be causing this?
what version of mysql do you have ?
http://dev.mysql.com/doc/refman/5.0/en/load-data.html
try reading this thread, it may be helpful. The guy seemds to have similar problem solved.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.