importing mysql dump code example
Example 1: mysql import sql file
mysql -u username -p database_name < file.sql
Example 2: how to export db from mysql
mysqldump -u username -p dbname > dbexport.sql
mysql -u username -p database_name < file.sql
mysqldump -u username -p dbname > dbexport.sql