mysqldump select query

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am trying to do a dump for a 2 gig table...

I would like to dump the tables in portions so that it's a little
easier to work with...

Can somebody suggest a way to do a mysqldump table query

ie.. mysqldump -u user -p database="MYDATABASE" Query="SELECT * FROM

I'm pretty sure this is possible... I have no idea how to do it.

Thanks in advance.

Re: mysqldump select query

Monty Loree wrote:
Quoted text here. Click to load it

the statement does not look right so i am not as sure as you are;
however, you can run something like this to backup table at a time:
mysqldump -p -u username databasename tablename > tablename.sql

once you run this, it'll ask you for your password, type it in and
voila, you get a text file of a backed up table.

lark --
To reply to me directly, delete "despam".

Site Timeline