We Recommend

SQL Cookbook SQL Cookbook
Written in O'Reilly's popular Problem/Solution/Discussion style, the SQL Cookbook is sure to please. Anthony's credo is: "When it comes down to it, we all go to work, we all have bills to pay, and we all want to go home at a reasonable time and enjoy what's still available of our days." The SQL Cookbook moves quickly from problem to solution, saving you time each step of the way.


Posted By

yuconner on 08/23/06


Tagged

database


Versions (?)


Who likes this?

5 people have marked this snippet as a favorite

Navegante
Phoenix
vali29
pagetoscreen
gAmUssA


Migrate MySQL database from old host to a new host


Published in: SQL 


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

  1. mysqldump -h oldhost -u oldusername -poldpassword olddbname | mysql -h newhost -u newusername -pnewpassword newdbname

Report this snippet 

You need to login to post a comment.