To Export a MySQL Database run:
mysqldump -u username -p database_name > dumpfile.sql
To Import a MySQL Database run:
mysql -u username -p database_name < dumpfile.sql
To Export a MySQL Database run:
mysqldump -u username -p database_name > dumpfile.sql
To Import a MySQL Database run:
mysql -u username -p database_name < dumpfile.sql