title: how to connect a .php file with a mysql database
body: <p>i've written the following code:</p>
  
  <pre><code>$db_user = 'bushra';  
  $db_pass = '12';
  $db_host ='localhost';  
  mysql_connect($db_host, $db_user, $db_pass);
  </code></pre>
  
  <p>but it shows the error:</p>
  
  <blockquote>
    <blockquote>
      <p>Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'bushra'@'localhost' (using password: YES) in C:\xampp\htdocs\no.php on line 7</p>
    </blockquote>
  </blockquote>
  
  <p>root have no password here.i've created a user named bushra</p>