Migrate MySQL database from old host to a new host


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. mysqldump -h oldhost -u oldusername -poldpassword olddbname | mysql -h newhost -u newusername -pnewpassword newdbname

URL: http://wiki.dreamhost.com/index.php/Migrate_MySQL

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.