You can check it by connecting MySQL through the command prompt.
I think that your MySQL Database is blocked by firewall. Once stop all the services of antivirus software you have on your computer, then try to connect.
I faced this problem as well and rectified by blocking all firewalls..