Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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