Fast2Host Logo

Linux

Copy a MySQL db using SSH

 

 

Using SSH the best way to copy a MySQL db from another server is:


mysqldump -h OLD_SERVER -u USER -pPASS DBNAME | mysql -u NEWUSER -pNEWPASS NEWDB


 



Maintain peace of mind with 24/7 UK based support

Email any time or call 01480 26 00 00 014 80 26 00 00