title: I'm trying to connect to a mysql database using PHP but it won't work
body: <p>I've Installed mysql, php, apache using a wamp configuration
  Where to access localhost is would be <a href="http://localhost:81" rel="nofollow">http://localhost:81</a>
  the PHP script I'm using is</p>
  
  <pre><code>if(mysql_connect('localhost', 'root', 'exobytes15')) {
  mysql_select_db('testDB');
  }
  else {
  echo 'Could not Connect to the database';
   }
  </code></pre>
  
  <p>But this gives me the error </p>
  
  <blockquote>
    <p>1045: Access denied for user 'root'@'localhost' (using password: YES)  </p>
  </blockquote>
  
  <p>What should I do to fix this problem? </p>