BackUp MySql Database from CommandLine

Posted by srk on Stack Overflow See other posts from Stack Overflow or by srk
Published on 2010-06-11T06:22:09Z Indexed on 2010/06/11 6:32 UTC
Read the original article Hit count: 150

Filed under:
|

I am able to backup mysql database via command line by executing the below :

C:\MySQL\MySQL Server 5.0\bin\mysqldump\" -uroot -ppassword sample > \"D:/admindb/AAR12.sql\"

But there is no DROP and CREATE database queries in my .mysql file

What should i add in the syntax to get the create info to my generated .sql file ?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about mysqldump