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
Ker Sing Tan10,573 Points
I have this error when using MAMP to launch php for local wordpress host:
MySQL said: Documentation
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.
How can I fix this? Thank you
Danny Boisvert4,576 Points
Hi Ker, maybe the answer I provided on this post might help you: https://teamtreehouse.com/community/mysql-server-light-is-not-lit-up-its-not-on