"insert into $1 (decimal x 4, int x 2) values ("
in a text file, and do
cat insert-command values-file > file2
mysql < file2
This works well with smaller files, but dies with:
ERROR 5 (HY000) at line 13: Out of memory (Needed 2579824 bytes)
on a file about 130mb.
Any suggestions on how to work around this?