Welcome to the InfinityFree community forum! Good to have you here.
Most people answering here are volunteers. They’re often the fastest source of help. Admin (the only staff member) checks in about once a day for issues on our end.
Volunteers can’t see your account or website. Share what you actually see, like error messages and what happens when you try something. That’s more useful than your theory of what’s wrong.
AI tools often get InfinityFree wrong. If a volunteer’s advice differs from what an AI told you, please try the volunteer’s suggestion first.
Solving an issue is a joint effort. Try the suggestions you get and report back what happened.
Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look.
Your database name, username and host all match your account, so the likely culprit is the password. The error says the user connected but was refused, and the knowledge base article on this error lists a wrong database name or a wrong password as the two causes.
The database password is your hosting account password, not your members area (client area) password. You can see it by logging in to the client area and clicking Manage next to the account. Then scroll down to MySQL Details and click Show next to Password. You can also change it from the same page. Update the password in your site’s config after that.
This article covers the error and the other usual checks:
Did you paste the password from MySQL Details into your config, or one you chose yourself or used on another account?