File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Help with mysqldump Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Help with mysqldump" Watch "Help with mysqldump" New topic

Help with mysqldump

Duran Harris
Ranch Hand

Joined: Nov 09, 2008
Posts: 608

Hi all,

I was wondering if it is possible to include (AND/OR) in mysqldumps.
When I use mysqldump,everytime It overwrites existing files with the same there no parameter to append to an existing file??I just want the insert statements.....

===>SCJP 1.5(72%)<===
Haris Karameh
Ranch Hand

Joined: Oct 17, 2002
Posts: 38
Yes, it is possible
Change output file with -r option
and set your where clause with -w
to get only inserts use
--all=FALSE --complete-insert=TRUE

run mysqldump --help for details
I agree. Here's the link:
subject: Help with mysqldump
It's not a secret anymore!