how to import file to mysql server 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