Check out example codes for "import mysql dump command line windows". It will help you in understanding the concepts better.

Code Example 1

C:\wamp\bin\mysql\mysql5.0.51b\bin>mysql -u root -p YourDatabaseName < YourFileName.sql

Code Example 2

mysql -u username -p database_name < file.sql

Learn ReactJs, React Native from akashmittal.com