mysqlslurp - slurp <STDIN> into a MySQL table
mysqlslurp -D | --database Database --table Table [--tmp | --tmpdir | --temp ] Temporary Directory [ --usage ] Prints this synopsis [ --man ] Prints full man page [options passed to mysqlimport] ( see mysqlimport --help for a list of options ) Example: cat file | mysqlslurp --database=my_db --table=my_table
mysqlslurp reads from <STDIN> and writes to directly to a MySQL table. Parameters --database and --table are required. Specifying a --tmp directory where the FIFO pipe will be created is optional. All other options are passed to mysqlimport unchanged.
mysqlslurp wraps mysqlimport, the fastest way to import data into MySQL tables. Especially with the --use-threads option.
Unlike mysqlimport, mysqlslurp does not require that the data be resident in a file on disk. This is handy in multiple server setups.
Mostly just works.
MySQL::Slurp
mysqlimport at http://mysql.com, currently http://dev.mysql.com/doc/refman/5.1/en/mysqlimport.html
Christopher Brown, <ctbrown@cpan.org<gt>
http://www.opendatagroup.com
Copyright (C) 2008 by Open Data
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install MySQL::Slurp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MySQL::Slurp
CPAN shell
perl -MCPAN -e shell install MySQL::Slurp
For more information on module installation, please visit the detailed CPAN module installation guide.