title: Why am I getting "Warning: mysql_connect(): Access denied for user" when attempting to connect?
body: <p>I can connect to php/myadmin by using the connection string, but if i am trying to connect through my php page, then it's giving the following error.</p>
  
  <blockquote>
    <p>Warning: mysql_connect(): Access denied for user 'bf_cards_user'@'My Server IP' (using password: NO) in /home/blue204/html/download/test_connection.php</p>
  </blockquote>
  
  <p>Here is my code:</p>
  
  <pre><code>$dbCon = mysql_connect('My Server IP', 'bf_cards_user', 'bbeqvfyAwPWECvWs');
  if ($dbCon){
      echo "connected";
  } else {
      echo "not connected" ;
  }   
  </code></pre>