i wrote following command in a file and made it a Batch File,and after running Batch File i am getting a Blank SQL File.
mysqldump –u root –proot lakshmimbar > db_test.sql
for example,
if mysqldump is located in D:\MySQL\MySQL Server 5.5\bin\mysqldump(in your case the place where you have installed Mysql probabily in C:\Program Files)
create a batch file like below
cd /D D:\\MySQL
cd MySQL Server 5.5
cd bin
mysqldump -u user -p database > backup_file_name.sql
run the script and comment if any error occurs
Batch Fileinnotepadand in the end of all line writepauseand run thebatch fileagain see what error your getting and show the error here once you can't understand what that error meansmysqldump –u root –proot lakshmimbar > db_test.sqlthen it wont take backupbatch file