MySQL Forums
Forum List  »  Backup

Why does mysqldump not add a drop database?
Posted by: peter.hamilton-scott
Date: October 29, 2005 11:24AM

Here is the mysqldump command I'm using. I added --add-drop-database=TRUE and there are no errors reported when the backup completes. But if I edit the output file there is no sign of a drop database command. Can anyone explain why?

mysqldump --extended-insert=FALSE --add-drop-database=TRUE --add-drop-table=TRUE --disable-keys=TRUE --order-by-primary=TRUE --routines=TRUE --triggers=TRUE --user=phs --verbose=FALSE cachelistener > CacheListener.backup

Options: ReplyQuote

Written By
Why does mysqldump not add a drop database?
October 29, 2005 11:24AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.