mysqldump from a query

Posted by Hulk on Stack Overflow See other posts from Stack Overflow or by Hulk
Published on 2010-03-12T10:15:24Z Indexed on 2010/03/12 10:17 UTC
Read the original article Hit count: 537

Filed under:
|
|

How do we take a mysql dump from the results of a query

I need something like this..

`mysqldump -uroot -pxxxx mydb "select * from table where name='1';" > /tmp/a

Thanks

© Stack Overflow or respective owner

Related posts about mysql

Related posts about mysqldump