title: mysql_connect(): No connection could be made because the target machine actively refused it
body: <p>I have this problem when I am trying to run my PHP MySQL script. When I try to run my .php file this is what I get.</p>
  
  <pre><code>mysql_connect(): No connection could be made because the target machine actively refused it
  </code></pre>
  
  <p>This is code for dbconnect.php:</p>
  
  <pre><code>&lt;?php
  mysql_connect("localhost","root");
  mysql_select_db("users");
  ?&gt;
  </code></pre>
  
  <p>I tried to use this format before but I don't know what seems to be the problem with this code.</p>
  
  <p>Thank you in advance.</p>