Quick MySQL database server migration
backup:
mysqldump -h server1.domain.com -u root -p database > backup.sql
restore:
mysql -h server2.domain.com -u root -p database < backup.sql
Written by Marduk
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mysql
Authors
Related Tags
#mysql
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#