how to import sql file dump code example
Example: linux command line import mysql database
# if your database is not locally hosted
mysql -u username -p -h dbhost dbname < filename.sql
# if your database is not locally hosted
mysql -u username -p -h dbhost dbname < filename.sql