Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with mysqldump

 
Duran Harris
Ranch Hand
Posts: 608
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Firstly-
I was wondering if it is possible to include (AND/OR) in mysqldumps.
Secondly-
When I use mysqldump,everytime It overwrites existing files with the same name..is there no parameter to append to an existing file??I just want the insert statements.....
 
Haris Karameh
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic