good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Database input speed questionby DigitalKitty (Parson) |
on Jul 31, 2003 at 17:51 UTC ( [id://279688]=note: print w/replies, xml ) | Need Help?? |
Hi jjhorner.
Good question. If you are running mySQL, you can use two primary tools. From the mySQL prompt enter:
Since mySQL isn't case sensitive, you need not use the same uppercase style as I did. The filename must be the same as the name of the table. Example:
There must be no 'extra' characters before the .filetype. If so, mySQL will try to insert the data into the wrong table. The other tool is called 'mysqlimport' and it acts as a command line interface to LOAD DATA. It works like this:
Hope this helps, -Katie
In Section
Seekers of Perl Wisdom
|
|