how to import and export database in mysql db 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);