here is my code :
<?php
$servername = "XXXXXXXXX";
$username = "XXXXXXXX";
$password = "XXXXXXXXX";
$conn = mysqli_connect($servername, $username, $password);
// Check connection
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}
echo "Connected successfully";
?>
and here is the error
Warning: mysqli_connect() [function.mysqli-connect]: (28000/1045): Access denied for user 'rgwyatt_loganf'@'192.185.46.82' (using password: YES) in /home4/rgwyatt/public_html/loganf/test.php on line 14
Connection failed: Access denied for user 'rgwyatt_loganf'@'192.185.46.82' (using password: YES)