How to export mysql database from command in windows | Codeexecute

How to export mysql database from command in windows

(1)got to your bin directory from command prompt
cd C:xamppmysqlbin

(2)Now use following command
mysqldump -u username -p yourdbname > mysqlfilename.sql