title: Not able to connect to database
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6148588/unable-to-connect-to-the-database-mysql">Unable to connect to the database mysql?</a>  </p>
  </blockquote>
  
  
  
  <p>I was trying PHP web crawler for website <a href="http://astellar.com" rel="nofollow noreferrer">http://astellar.com</a></p>
  
  <p>I did everything step by step and also create user and database for MySQL. Then connect to database with user as well but it show me an error.</p>
  
  <pre><code>Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'switsolu_kll'@'localhost' (using password: YES) in /home/switsolu/public_html/crawler/_db.php on line 43
  Cannot connect to database server (Reason: Access denied for user 'switsolu_kll'@'localhost' (using password: YES))
  </code></pre>
  
  <p>where I am wrong in there?</p>