mysql export import

This show you how to backup and restore mysql db.

Export
mysqldump -u root -h localhost -p db_name > db_name

Import
mysql -u mysql_account-p -h localhost db_name< db_name

Leave a Reply