title: No connection could be made because the target machine actively refused it (PHP / WAMP)
body: <p>Note: <strong>I realise this could be seen as a duplicate but i have looked at the other responses and they didn't fix the problem for me.</strong></p>
  
  <hr>
  
  <p>I have recently installed Zend Studio and Zend Server with the mysql plugin on Windows 7.</p>
  
  <p>I am not a qualified server administrator but neither am i completely incompetent; i have dedicated my day trying to get a local development 'server' up to cut down on upload/download times.</p>
  
  <p>When I say server/machine i mean my home computer</p>
  
  <p>I have come to a grinding halt trying to get mysql to work with Zend Server.</p>
  
  <p>The error I keep receiving is (or verbose):</p>
  
  <pre><code>#2002 Cannot log in to the MySQL server
  or (if i change to 'config' authentication type)
  #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).
  </code></pre>
  
  <p>I have tried:</p>
  
  <ul>
  <li>Change $cfg['Servers'][$i]['host'] from 'localhost' to '127.0.0.1'</li>
  <li>Add/Remove $cfg['Servers'][$i]['socket'] = '';</li>
  <li>Change from cookie to config auth type</li>
  <li>reinstall server and mysql</li>
  <li>Disable firewalls</li>
  <li>Restarting machine</li>
  </ul>
  
  <p>Zend's approach was to 'configure the phpmyadmin setup screen'... done that i don't know how many times.</p>
  
  <p>Can anyone on here lend a hand, or point me in a direction that I haven't tried yet?</p>