MySQL Forums
Forum List  »  Backup

Backup database in .bat
Posted by: Kannan kumar
Date: July 28, 2013 10:23PM


can't take mysqlbackup in MYSQL>
then tried using cmd username:root, Password:empty. D:\wamp\bin\mysql\bin>mysqldump -r root -p dbname>D:\filename.sql
can get the is ok.
now i want to create .bat file using D:\wamp\bin\mysql\bin>mysqldump -r root -p dbname>D:\filename.sql
Fiename.sql it contain with currentdate and time when run the .bat file kindly help me.

Options: ReplyQuote

Written By
Backup database in .bat
July 28, 2013 10:23PM
July 29, 2013 07:54PM

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.