I am running a Rails site with a MySQL database.
I start the MySQL server daemon using:
sudo /usr/local/mysql/support-files/mysql.server start
After attempting to upload some data with my site, I noticed this in the log file:
Mysql::Error: The used command is not allowed with this MySQL version: LOAD DATA LOCAL INFILE
I stopped MySQL, and restarted it using:
sudo /usr/local/mysql/support-files/mysql.server start
--local-infile=1
However, it still doesn't upload anything, and shows the same errors.
What am I doing wrong?

LOAD DATA LOCAL INFILEcommand andSHOW VARIABLES LIKE 'load_infile';– RolandoMySQLDBA Sep 26 '12 at 19:37