how to import new database via terminal code example
Example 1: mysql export database command line
mysqldump -uroot -p root YourDatabaseName > WantedSQLFile.sql
Example 2: how to import mysql database command line
mysql>create database yourDatabaseName;
mysql>use yourDatabaseName;