command line import dump to mysql database example
Example 1: database dump mysql command
mysqldump -u username -p dbname > filename.sql
Example 2: import dump mysql
mysql -u username -p database_name < file.sql
mysqldump -u username -p dbname > filename.sql
mysql -u username -p database_name < file.sql