title: No connection could be made because the target machine actively refused it
body: <p>I'm trying to have PHP (EasyPHP) connect to MySQL. Both are on my Windows laptop. I run PHP using Eclipse as IDE.</p>
  
  <p>The PHP line that should make the connection looks like this: </p>
  
  <p><code>mysqli_connect("127.0.0.1","DB_name");</code></p>
  
  <p>When I run the PHP code, I get the following message:</p>
  
  <p><code>Warning: mysqli_connect(): (HY000/2002): No connection could be made because the target     machine actively refused it.</code></p>
  
  <p>I know there are multiple entries on StackOverflow that mention this problem, but they all seem to occur on complex client-server configuration. Mine is simple: a single laptop, so I hope there is a simpler solution than what has been suggested so far.</p>
  
  <p>Anyone any suggestions? Thx in advance.</p>