On Wednesday, Sep 10, 2003, at 16:23 US/Eastern, John Ryan wrote:
Is there any way *from the command line* to get a dump of a mysql table and
have it saved to a local file, instead of standard output

Have a look at "man mysqldump", particularly the "examples" section.


If you're already dumping the table to standard output, just use the same command and redirect the output:

$ mysqldump --tables database.table > some_dump_file

(I didn't test that...)

pjm

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to