How to import and export database
How to import and export a mysql database using ssh.
|
To export a database use:
Code:
mysqldump -u root -p db-name > backup.sql Code:
mysql -u root -p db-name < backup.sql |
All times are GMT -5. The time now is 07:49 PM. |