How to import and export database from mysql by command prompt at windows
First you need to go mysql\bin\ folder at after opeaning command prompt.
Export command :
mysqldump -h localhost -u username -p password database_name > new_downloaded_database_name.sql
Import command :
Put your imported database to mysql\bin\ folder,then run the following command
mysql -u username -p password new_database_name < database.sql