Can't connect to MySQL - access denied

My website URL is: Registrant WHOIS contact information verification |

What I’m seeing is:
Error: Unable to connect to MySQL.
Debugging errno: 1045
Debugging error: Access denied for user ‘epiz_24622843’@‘’ (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 = '';
$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();

It looks like there was a problem with your database permissions. I’ve reset the permissions, so the credentials should work now.

1 Like

Thank you!! I can confirm it’s working now. Appreciate your help :slight_smile: