import mysql database using cmd windows code example
Example 1: how to import database in mysql by cmd
mysql -u username -p database_name < file.sql
Example 2: how to import mysql database command line
mysql>create database yourDatabaseName;
mysql>use yourDatabaseName;