Solved

Server move

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Foreword This is an old article.  Instead of using the MySQL extension that was used in the original code examples, please choose one of the currently supported database extensions instead.  More information is available here: MySQLi / PDO (http://…
Introduction People like FTP.  It's a solid, stable, robust protocol for quickly transferring files between two hosts using TCP/IP.  In most cases it's much faster than SMB or CIFS, and certainly much easier to set up between organizations.  This…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 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