Question posted by tanhax on September 10th, 2013

Wordpress Migration

Hi I need to migrate wordpress blog from one local computer to another for debug and I get Error Establishing a Database Connection Can someone tell me step by step where I could made mistake? what could change in wp-settings etc what to look for when exporting importing mysql database... thx.

Current Answers

Answer #1: Posted by TechSupport101 on September 10th, 2013 2:51 AM
This answer was accepted by the poster of the original question.
TechSupport101

Member since:
May 24th, 2013

Points: 12,171,305
1,110
points
Hi, here are the steps you are looking for:

Importing and Exporting WordPress Databases
1Assign a web designer to export your database, if you have never dealt with coding before. It is important to follow exact instructions to make sure your database stays intact and uploads properly to a new website.
2Login to your local "phpMyAdmin" to export your private CMS database. Under WordPress, click the "Structure" tab and then the "Export" option. Click the box for "Add drop table/drop view" and the box to "Save as file."
3Click "Go" to download a Structured Query Language (SQL) file. Open the file in a text editor program. Select the find function to find all of the previous URL (website) addresses.
4Replace each old URL address with the new domain address. You can click "Replace All" to do this in 1 step. Check your document to make sure all the URL addresses are changed before saving the file.
5Create a new database for your new domain. Login to your server and go to "MySQL Databases." Create a new database and assign it a new user to serve as an administrator.
6Login to the "phpMyAdmin" for your new database. Under the "Import" tab, select the file you just downloaded, changed and saved. Click "Go" to upload the file to your WordPress platform.
7Find the "wp-config.php" file on your server. Change the database details, replacing them with the new server and domain settings.
For more details visit the link below:
http://www.wikihow.com/Export-and-Import-a-Wordpress-Blog

Answer #2: Posted by tanhax on September 10th, 2013 3:01 AM
tanhax

Member since:
January 28th, 2013

Points: 21,620
100
points
What I did is different?

its local xampp to local xampp

I took files from 1.pc from htdocs in folder wordpress (its named like that)

copied to 2.pc then from phpmyadmin on 1.pc I did export of wordpress database into SQL file then imported in phpmyadmin on 2.pc dunno if i should change any url when its both localhost should I change wp-settings? localhost stay same but database name and pw is different?


https://soundcloud.com/nathax

Similar Questions

Legitimate Microsoft Tech Help.
Odin just answered my question re AAKA Tech support as being a scam but I need to be put in touch wi...
(Posted by kkansa 7 years ago)
Need Driver For Microsoft D67-00001 Trackball Optical Mouse
I need the appropriate driver for my Microsoft D67-00001 Trackball Optical Mouse
(Posted by chrishuston 11 years ago)
I Need To Highlight Lines In Excel Files, Then Export As Excel Files
I need to be able to highlight sections in Excel files, then esport them as Excel files
(Posted by john5740 11 years ago)
Password Lost
I lost my password of [email protected] I m from hongkong but my ID is US I also forgot informati...
(Posted by Beenamughal 11 years ago)
Ask a New Question
Use the box below to post a new question about Microsoft.
Points & Prizes
  • You can earn points for nearly everything you do on HelpOwl.com
  • You can trade in those points for gift cards at leading retailers such as Amazon.com and Walmart
  • It's that simple!
See How it Works
Create a Free Account

Microsoft Manuals

Find free Microsoft manuals and user guides available at ManualOwl.com. Try out our unique manual viewer allowing you to interact with manuals from directly within your browser!

Microsoft Reviews

View thousands of Microsoft user reviews and customer ratings available at ReviewOwl.com.

Contact Information

Complete Microsoft customer service contact information including steps to reach representatives, hours of operation, customer support links and more from ContactHelp.com.

Scoreboard Ratings

See detailed Microsoft customer service rankings, employee comments and much more from our sister site.