title: Warning: mysqli_connect(): (28000/1045): Access denied for user
body: <p>i uploaded my php config code to my server befirstw on cpanel ...under the public html ..
  my php file is </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php
  
  $dbhost = "befirstwin.com";
  $dbname = "befirstw_intlgent";
  $dbuser = "befirstw_intelli";
  $dbpass = "Ngcp1988$ ";
  
  
  $connection = mysqli_connect($dbhost, $dbuser, $dbpass, $dbname);
  
  if(mysqli_connect_errno())
  {
  die("database connection failed: " .
  mysql_connect_error() . "("  . mysql_connect_errno() .")"
  );
  }
  $username = isset($_GET['username']) ? $_GET['username'] : '';
  $password = isset($_GET['password']) ? $_GET['password'] : '';
  
  $query = "INSERT INTO users 
             VALUES ('', '$username', '$password')";
  
  $result = mysqli_query($connection,$query);
  
  if(!$result)
  {
  die("we have problem");
  }
  
  mysqli_close($connection);
  ?&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>i am getting this error
  Warning: mysqli_connect(): (28000/1045): Access denied for user 'befirstw_intelli'@'s147.adk-media.com' (using password: YES) in /home/befirstw/public_html/connectimagedb.php on line 8 </p>
  
  <p>if you have any idea or any thing more required for php connectivity plz suggest</p>