Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

moving mysql from one server to another

Status
Not open for further replies.

Paullas

Staff member
Joined
Jul 13, 2004
Posts
5,817
Reaction score
361
hi all.

hope someone can guide me on this.

I have a few mysql databases on a windows web edition server and need to move then to a server 2003 server.

can anyone give an idiots giude on moving them.

thanks in advance.
 
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.
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom