Wednesday, November 20, 2013

WAMP phpMyAdmin error #2002 - No connection could be made because the target machine actively refused it.

Hello,

If you get an error #2002 - No connection could be made because the target machine actively refused it when you try to access phpmyAdmin on a WAMP.

Then it is due to your 3306 port is already occupied by some other application. For me it was Skype today, I just needed to close Skype and restart the WAMP server once again and the issue was fixed. Skype will anyways take another vacant port so restart it as well.

You can make changes to my.ini so that it listens to another port, but easier to close Skype.

Try it.

Thanx
Anshumaan Bakshi

2 comments:

  1. Well as far as I can remember I didn't changed anything on my system and I was facing this issue. So I checked with netstat if the port for MySQL was free or in use.
    Which was and I am aware Skype is famous for capturing port 80, 8080, 443 and 3306 if not exempted from its advanced settings, so it was a straight forward solution.

    ReplyDelete