Jump to content

MySQL Connect Database


teo_turtle

Recommended Posts

  • Replies 45
  • Created
  • Last Reply

Top Posters In This Topic

<?php

 

$host="cine.heliohost.org";

$username="teo01234_root";

$password="********";

$db_selected="teo01234_cine";

 

 

 

$mysqli=mysqli_connect($host,$username,$password,$db_selected);

 

if(mysqli_connect_errno())

{

 

 

printf("Connect failed: %s\n ",mysqli_connect_error());

exit;

}

 

mysqli_query($mysqli,"set names utf8");

 

?>

 

http://img837.imageshack.us/i/cpanelr.png/

 

 

 

Warning: mysqli_connect() [function.mysqli-connect]: (28000/1045): Access denied for user 'teo01234_root'@'216.218.192.170' (using password: YES) in /home1/teo01234/public_html/cine/include/connect.php on line 10

Connect failed: Access denied for user 'teo01234_root'@'216.218.192.170' (using password: YES)

 

 

please how to fixed this error? step by step. :-)

Link to comment
Share on other sites

$host="cine.heliohost.org";

$username="teo01234_user";

$password="************";

$db_selected="teo01234_cine";

 

Warning: mysqli_connect() [function.mysqli-connect]: (28000/1045): Access denied for user 'teo01234_user'@'216.218.192.170' (using password: YES) in /home1/teo01234/public_html/cine/include/connect.php on line 10

Connect failed: Access denied for user 'teo01234_user'@'216.218.192.170' (using password: YES)

 

:(

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...