Page 1 of 1

Create local copy of Wordpress in my XAMPP - How?

PostPosted: 09. April 2015 13:36
by chihwahlii
Dear experts,

My actions (What exactly do you do):
- I created a local.sql script from the website database management, that included drop database, create database, all inserts, check foreign keys, etc.
- I copied all files from the Wordpress folder (production), which are located on the server in the httdocs folder, to my local PC.
- In my local XAMPP with the Wordpress module installed, I can access the default Wordpress page by typing localhost/wordpress.
- I copy all Wordpress production files to my XAMPP Wordpress folder.
- I executed the local.sql script on my local XAMPP phpMyAdmin, the database is created.
- But when I try to access the XAMPP Wordpress, I get a database connection error.
- I did not change the default XAMPP passwords of MySQL or Apache.

What I like to archieve (expected answer):
Let my local Wordpress work, but how?


Received answers so far:
-

Re: Create local copy of Wordpress in my XAMPP - How?

PostPosted: 09. April 2015 13:39
by Nobbie
You should better ask in a WordPress Forum, how to move an existing WordPress Installation from one server to another. That is not a Xampp issue, but a pure WordPress issue.

Re: Create local copy of Wordpress in my XAMPP - How?

PostPosted: 12. April 2015 14:26
by Nea1
I googled "how to run Wordpress on my desktop and found this video very usefull. https://www.youtube.com/watch?v=Xo_Q3V1QSdg

Re: Create local copy of Wordpress in my XAMPP - How?

PostPosted: 12. April 2015 14:41
by Altrea
This video just explains how to install a local wordpress installation, NOT how to migrate an existing wordpress site from a webserver to your local machine.