Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Local WordPress Development Local WordPress Development Installing WordPress Locally

XAMPP Database

Hey guys,

On the video series on how to install and use Wordpress locally on your computer, I got all the way to getting the Wordpress folders copied over to the htdocs folder. I'm on a Windows computer.

The next video in the series switched back over to a mac and showed you how to create the database, but it didn't show you how to do it on Windows. So I'm at the point where I create a configuration file, but I have no database to connect to.

What do I do now?

Chris Grazioli
Chris Grazioli
31,225 Points

I tried to follow along with the video, and I created a database the same way. Then I used both the wordpress configuration sample page to run me through the changes and that didn't work. I deleted it all and tried it again this time manually updating the configuration file and it still doesn't work. I think something is happening between the configuration file in Wordpress and the location of the database... Something isn't syncing up and it's very frustrating

3 Answers

The steps should be pretty much the same. Open your browser and go to localhost/phpmyadmin, then click Databases, and create a database named wordpress. Then you can update your configuration file to point to the wordpress database.

Chris Grazioli
Chris Grazioli
31,225 Points

This doesn't work all that well. treehouse has said that they are aware of the gap in the video series, but haven't offered much in the way of support other than pointing me towards this forum. So here I am sifting through poorly titled mostly useless posts in even worse English.

Ben,

Thank you. You were correct about going to localhost/phpmyadmin! Thanks. I used the remaining part of the video where they went through MAMP and just translated that for XAMPP. Looks like all went well!