import db using step by step code example
Example 1: import mysql dump database command line linux
mysql -u<user_name> -puser_password> <database_name>
source /path/db.sql
Example 2: Import mysql'
LOAD DATA INFILE "name.csv" INTO TABLE "TableName"
FIELDS TERMINATED BY "sign"
LINES TERMINATED BY "sign"
IGNORE 1 LINES
(columns);