FangerZero
New Member
- Messages
- 22
- Reaction score
- 0
- Points
- 1
I just got my services today, and am having issues connecting to the database, here's the error I get. Also I have checked multiple times with the credentials and everything.
Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'heartla1_admin'@'198.91.87.236' (using password: YES) in /home/heartla1/public_html/open.php on line 3
Unable to connect to database [Access denied for user 'heartla1_admin'@'198.91.87.236' (using password: YES)]
Also if I'm using the forum wrong, would be nice to understand them, I find it confusing, and don't get where to find help if this is incorrect.
Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'heartla1_admin'@'198.91.87.236' (using password: YES) in /home/heartla1/public_html/open.php on line 3
Unable to connect to database [Access denied for user 'heartla1_admin'@'198.91.87.236' (using password: YES)]
Code:
<?php
//connect.php
$db = new mysqli('198.91.87.236', 'heartla1_admin', 'p@$$w0rd', 'heartla1_falcons');
if($db->connect_errno > 0){
die('Unable to connect to database [' . $db->connect_error . ']');
}
?>
Also if I'm using the forum wrong, would be nice to understand them, I find it confusing, and don't get where to find help if this is incorrect.