Solved

Server move

Posted on 2011-03-11
3
389 Views
Last Modified: 2013-12-02

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.
0
Comment
Question by:Qechols1
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
mwiercin earned 500 total points
ID: 35111785
Hi,

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

0
 
LVL 3

Expert Comment

by:mwiercin
ID: 35111800
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).
0
 

Author Comment

by:Qechols1
ID: 35112974
@mwiercin:  I am a beginner, I see you are well versed.  I need more understanding, kinda a how to.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question