How To Move Your MySQL Database to Web Hosting

If you use a website engine such as WordPress, phpBB or Drupal, the information on these sites is stored in a database, with the most popular database known as MySQL. If you plan to move to a different web host, you can move your database to a new one on the other host to make setup easier.

Instructions

Difficulty: 3

Step 1

Type "mysqldump -Qq -hDBSERVER -uUSERNAME -p DATABASE_NAME > backup.sql" into the terminal, where "DBSERVER" is your server's name, "USERNAME" is your username and "DATABASE_NAME" is the name of the database you want to move. Press "Enter."

Step 2

Connect to your web host using the FTP client, then upload the SQL database to the host.

Step 3

Type "mysql -hDBSERVER -uUSERNAME -p DATABASE_NAME < backup.sql" into the terminal window, where "DBSERVER" is the name of your web host server, "USERNAME" is the username for your web host's server and "DATABASE_NAME" is the name of the database you set up. Press "Enter."

Top Web Hosting Sites
Compare the Top Web Hosting providers. Free Setup, Free Domain Names.
www.superhostingdeals.com

Web Hosting Service
Build & Host a Website in Minutes. Try our Service Risk-free Now!
www.ipage.com

Top 10 Web Hosting - 2010
Reviews of the Top 10 Web Hosting Sites starting at $3.95/Month.
www.superhostingdeals.com

Cheap Domain Names
Best Value on Web - Free Features, Free Website Creator, Apps, More.
www.bulkregister.com

Top Ranked Web Hosting
Free Domain, Free Email, Risk-Free Guarantee.
stats.justhost.com


References


Article Written By Jay Darrington

Jay Darrington has been a freelance writer since 2006, specializing in technology. He has published on several online blogs, including iTech24, iPhoneland and Tech101. He holds a Bachelor of Arts in communication technology from California State University.


Home | Privacy | Terms | About Us | Site Map | Recent Articles | † requires javascript
SuperHostingDeals.com, ratings are based on editorial review of each service provider.
A direct link to SuperHostingDeals.com is required in order to use any of the above information.

rapid ssl certificate

Copyright © 2010 SuperHostingDeals.com
Names, trademarks and logos are the properties of their
respective owners and protected by law