From SSH command line, issue the following command:
mysql -u username -p database_name < dumpfile.sql
* for importing mysql database
mysqldump -u username -p database_name > dumpfile.sql
* for exporting mysql database
- 2 Users Found This Useful
From SSH command line, issue the following command:
mysql -u username -p database_name < dumpfile.sql
* for importing mysql database
mysqldump -u username -p database_name > dumpfile.sql
* for exporting mysql database