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

General Discussion

MAMP localhost server issue

This is not really related to any lesson in particular, but I thought maybe someone could help. I am getting an error when trying to start the MAMP server saying that it cannot connect to the mysql server. I recently updated my mac os with their security updates. I don't know if this would have anything to do with it, but the server worked before this. I have searched high and low and tried many things to get it working again. I really need to get the databases that are in phpMyAdmin. Any ideas??

2 Answers

Hello Sean, Thanks for replying. After hours of headache, I just re-installed MAMP. First renaming the existing MAMP installation in the Applications folder for anyone reading that might have to do this. Then moved all the htdocs and databases over to the new one. I never did database dumps to back up the MAMP server. I guess I always just trusted it. Big Mistake. The databases are all showing up now in phpMyAdmin now and the sites that did not require a database are working again, but I'm still trying to get the wordpress sites working again. I think it might be a better idea to just make make wordpress sites on the live server next time and back them up of course. Thanks again. Greg