• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 399
  • Last Modified:

Server move

Open in new window

im trying to move my wordpress site from my local MAC server to the net and make it  live. I'm new to this so i have been relying on Youtube and Google.  I used this info to help me:  http://www.slideshare.net/Miriam6142/from-local-to-live-exporting-wordpress-from-mamp.

I downloaded Cyberduck as instructed. The info that i input it gives me a error message:
 error code
This is the MAMP info that i used in Cyberduck: mamp screen shot
I believe that I am imputing the correct info, but maybe there is something I am overlooking.
Please Help.
  • 2
1 Solution

If the site is not live yet (thus there is no need to provide service continuity), simply dump it out by using command line tool mysqldump
mysqldump --routines --triggers -u<your user> -p<your password> -h<your server> <database>  > <random file name>

Open in new window

That right angular bracket between database and filename is IO redirection (saves output of mysqldump to the file).

Copy the file to the server and run (I assume you do have shell access to it?)

mysql -u<your user> -p<your password> -h<your server> <database> < <random file name> 

Open in new window

If you don't have shell access but can connect to MySql remotely you can do it in one command:

mysqldump --routines --triggers -u<your user / local> -p<your password /local> -h<your server / local> <database /local> | mysql -u<your user / remote> -p<your password / remote> -h<your server / remote> <database / remote>

Open in new window

With the wordpress files themselves simply copy them over to the new server (you'll most likely have to change configuration file to point it to the new database).
Qechols1Author Commented:
@mwiercin:  I am a beginner, I see you are well versed.  I need more understanding, kinda a how to.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now