Hi, 
Try mysqldump -T:

-T| --tab=...
  Creates  tab  separated  textfile  for each table to given path.
  (creates .sql and .txt files).  NOTE: This only works if  mysql‐
  dump is run on the same machine as the mysqld daemon.


This was taken from the man page.


On Wed, 2003-06-25 at 08:56, Rob wrote:
> Hi all,
> 
> Is there any way to do a mysql dump in which each table is dumped into a
> separate file.  I know I can use the --tables option to specify a table,
> but this means I have to type out each table name (and there are a lot
> of them).  Is there any way to get mysql to automatically iterate
> through all the table names and dump each table to a separate file.  The
> reason for this is that the db is BIG and we don't want to have to lug
> 200+mb files around.  Plus mysql seems to have a real issue with dumping
> large dbs into one file.  We've tried about 5 - 10 times and we keep
> getting corrupted data in the file.
> 
> Thanks
> 
> ---
> Rob
> 
> **************************
> Rob Cherry
> mailto:[EMAIL PROTECTED]
> +27 21 447 7440 
> Jam Warehouse RSA
> Smart Business Innovation
> http://www.jamwarehouse.com
> **************************
-- 
Diana Soares


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to