title: Php mysql connection to the Cpanel db
body: <p>how to connect cpanel db from Localhost.
  i know connect from <strong>localhost</strong>. But i need to connect from server.
  i am trying like this</p>
  
  <pre><code>&lt;?php
  mysql_connect("208.91.199.141","username","password") or die(mysql_error());
  mysql_select_db("db");
  ?&gt;
  </code></pre>
  
  <p>i get an Error </p>
  
  <p><strong>Warning:</strong> mysql_connect() [function.mysql-connect]: Access denied for user 'glansade'@'49.206.54.187' (using password: YES) in C:\xampp\htdocs\calendar\db_server.php on line 2
  Access denied for user 'glansade'@'49.206.54.187' (using password: YES).</p>
  
  <p>How to solve this....? Please Help me. Thanks</p>