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

WordPress

Julian McNeill
Julian McNeill
9,445 Points

Help! Problem with Wordpress Setup configuration

I try and go to phpmyadmin and this shows up I don't know what i did wrong

MySQL said: Documentation

2002 - No connection could be made because the target machine actively refused it.

The server is not responding (or the local server's socket is not correctly configured).

Julian McNeill
Julian McNeill
9,445 Points

should I try and and reinstall xampp

5 Answers

Colin Marshall
Colin Marshall
32,861 Points

I'm guessing either your hostname, login, or port are incorrect. What settings do you have for these?

Hi Julina,

Try this link: http://stackoverflow.com/questions/8388962/php-mysqlno-connection-could-be-made

Also most webhosting companies have build in Wordpress installer. Let me know if this helps.

Julian McNeill
Julian McNeill
9,445 Points

would this work when I'm just trying to setup wordpress locally for the treehouse lesson

...I don't know. I'll take a look at the tutorial I have always installed it on a server. I have never tried to do it locally.

Andre' Jones
Andre' Jones
26,671 Points

I got this error too. If your on windows go to Xampp and click start MySQL then it should work.

Julian McNeill
Julian McNeill
9,445 Points

yeah I did that and it says access denied

Andre' Jones
Andre' Jones
26,671 Points

do you get this error right after u enter root for the username and password?

Andre' Jones
Andre' Jones
26,671 Points

If so I just put in the username as root and left the password blank and it worked

+1 Try what Andre's suggestion first before starting over.

Julian McNeill
Julian McNeill
9,445 Points

but if i press on the admin button for apache the shirts 4 mike website will show up

I hate to say this but maybe you should delete what you have an start over. I was unsuccessful at replicating error message that you are getting.

Julian McNeill
Julian McNeill
9,445 Points

but what do I delete I didnt even really get started with wordpress. should i reinstall xampp

Yes.