Displaying 1 result from an estimated 1 matches for "loadcmd".
Did you mean:
ldcmd
2006 Apr 20
0
MySQL support for LOAD DATA LOCAL
...HEL4) from Ruby 1.8.2 and RoR 1.0 (with mysql
gem v2.6) to Ruby 1.8.4 and RoR 1.1.2 (with mysql gem v2.7). Immediately
one of my scripts broke. It was using MySQL''s LOAD DATA LOCAL mechanism
to bulk load a CSV file. While it worked fine in the old version in the
new version when I do:
loadcmd = "load data local infile ''#{csvfile}'' ... "
ActiveRecord::Base.connection.excute(loadcmd)
it complains that MySQL doesn''t support that operation - sorry don''t
have the exact error message at the moment. I''ve logged into MySQL from
the conso...