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!

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 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