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


I can't login to my WP site on my localhost on MAMP

I installed MAMP and set up my local site yesterday, and installed wordpress, a theme, etc. Now that I'm trying to login again, it's directing me to the page to install Wordpress AGAIN. What's going on?

1 Answer

Benjamin Larson
Benjamin Larson
34,055 Points

Hard to say exactly without knowing the exact environment. I believe this can be caused from a database being down or from a change made to the database causes a mismatch with what's inside the wp-config file. Are you sure your database server is online? Did you make any changes right before the problem started happening? Even though it doesn't normally happen, even something like changing a theme could potentially cause a problem.