Solved

Server move

Posted on 2011-03-11
3
382 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now