Export a mysql database using Command Prompt

Use this command to Export a mysql database

mysqldump -u UserName -p yourDatabaseName > exportedDatabase.sql