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.

WordPress Installing WordPress Locally Installing WordPress Locally Setting up the Environment

error when trying to go to phpMyadmin

This is the error coming up when i go to phpMyadmin. Not sure what happened.


MySQL said: Cannot connect: invalid settings.

mysqli_real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

Please let me know if you know what i did so i can get it fixed.

Having the same exact thing. I'm trying to figure it out myself. I'm currently downloading mySQL even tho I know MIMO comes with mysql already. I'll update my comment once I finish downloading and installing it.

1 Answer

Hi Patrick and Mohammad: this thread seems to be identical to another thread

I'm having the same problem. Please help me and post if you uncover anything on the matter.

Thank you very much. -Mark