Moving mySQL DBs from one server to another:

mysqldump -uUSER -pPASSWORD txp_database > txp_database.sql

puts the entire thing in one nicely portable text file.

on a new server it takes

mysql -uUSER -pPASSWORD txp_database < txp_database.sql

to import it.

delicious | digg | reddit | facebook | technorati | stumbleupon | chatintamil

Related posts:

  1. Taking backup of mysql database using cron Taking backup of mysql database using cron Create a file...
  2. How To Set Up A Load-Balanced MySQL Cluster With MySQL 5.1 This tutorial is based on Falko Timme’s tutorial for MySQL...
  3. Turbo charging MySQL by setting up the query cache To make sure MySQL uses the query cache, there are...
  4. Linux Server Type: Restoring MySQL SimLink. If you’re unable to restart mysqld and troubleshooting the cause:...