import mysql dump file code example
Example 1: dump mysql
mysqldump -u username -p database_name > data-dump.sql
Example 2: import mysql dump command line
mysql -u username -p database_name < file.sql
mysqldump -u username -p database_name > data-dump.sql
mysql -u username -p database_name < file.sql