mysql console import db code example
Example 1: import DB through mysql console
mysql> use db_name;
mysql> source folder_path/file_name.sql;
Example 2: import DB through mysql console
mysql> use db_name;
mysql> source file_name.sql;
mysql> use db_name;
mysql> source folder_path/file_name.sql;
mysql> use db_name;
mysql> source file_name.sql;