Alt-PHP-Faq
Cheapest CO.UK domains in the UK! £1.88 per year!
And PHP/MySQL hosting 1p/1c for the first month, NO CATCH!


Question :

Is it possible to move my mysql database to another server?

Answer :
Yes it is possible using two common know mysql utilities know as mysql and mysqldump you need access to those, if you dont have access to those you can use phpmyadmin or mysqlfront.

Here is what to do:

First you need to dump your database from the old server using mysqldump as follows from a prompt:

mysqldump -h host -u user -p database > dump_file

Second you need to import the sql and data to the database using mysql as follows from a prompt:

mysql -h host -u user -p database < dump_file

After that it should be transfered correctly.

Categories Return to Main PHP Faq

SQL

 

Questions

SQL
I have lost my MySQL root password, how can I get in?
How can I manage a MySQL database from windows?
Is there a library of SQL functions that I can just include?
Where can I find a database of country codes?
I am trying to create a database and keep getting an error :- (Errcode: 28)
 

Return to the main FAQ list



Free Forum    
Design & Layout Copyright © 2000- 2008 PHP MySQL Web Hosting Comments to Webmaster
Hosted by PHP 4 Hosting - PHP and MySQL Webhosting and Domain Names