To import database from the SQL dump file in mysql using the command line or cmd with Windows XAMPP, Just type C:\xampp\mysql\bin>mysql -u username -p database_name < path_to_mysql_file.sql command on Windows command prompt and press enter, it will import db
Read More How to Import Database Mysql Command Line Windows Xampp