Access Denied

My website URL is:
http://campingoptions.epizy.com/MealOptions.php

What I’m seeing is:
Connection Error Error Code: 1045 Error: DescriptionAccess denied for user ‘epiz_23723207’@‘192.168.2.191’ (using password: YES)

I already reviewed this link:
https://infinityfree.net/support/common-mysql-errors/
Here is my connection details. I did make sure the password was my hosting password and not my site login password.

$servername = “sql107.epizy.com”;
$username = “epiz_23723207”;
$password = “************”;
$database = “epiz_23723207_CampingFood”;

$link = mysqli_connect($servername, $username, $password, $database);

if (!$link) {
echo “Connection Error”. PHP_EOL;
echo "Error Code: ". mysqli_connect_errno().PHP_EOL;
echo “Error: Description”.mysqli_connect_error().PHP_EOL;
exit;
}
echo “Connection is Successful”;

Please help!

Thanks,
tah0311

Additional connection information to validate:

First of all, thank you for the detailed message, and doing your investigation first! It really helps to make it easier to solve a problem fast and efficiently.

But in this case, the issue was caused by broken database permissions on your account. These permissions have been reset now, which should allow your software to connect properly.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.