My website URL is: Registrant WHOIS contact information verification | Namecheap.com
What I’m seeing is:
Error: Unable to connect to MySQL.
Debugging errno: 1045
Debugging error: Access denied for user ‘epiz_24622843’@‘192.168.0.56’ (using password: YES)
I’m using this software: file manager
Additional information:
I have:
- Read the knowledge base
- Changed the account password twice (thinking maybe the first one wasn’t saved correctly)
- Verify that the password is correct by showing it (show/hide button)
- Verify that FTP is working using the same password
- Copy-paste the MySQL hostname, username, database name to prevent typo
And I still can’t connect to the database. Is there anything else I may have missed here? Below is the PHP code used to connect.
$db_host = 'sql301.epizy.com';
$db_user = 'epiz_24622843';
$db_pass = '<password>';
$db_name = 'epiz_24622843_db1';
$conn = mysqli_connect($db_host, $db_user, $db_pass, $db_name);
if (!$conn) {
echo "Error: Unable to connect to MySQL.<br/>";
echo "Debugging errno: " . mysqli_connect_errno() . '<br/>';
echo "Debugging error: " . mysqli_connect_error();
exit;
}