Subject: MySQL Error 1044 — Database Access Denied

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.

Could you post the full error text, including the part after “Access denied” that names the user and the database? Also tell me the exact database name and hostname that config.php uses. Leave the password out. That part of the message shows which database name PHP is actually trying to use.

I found an article on common MySQL connection errors. It says an “Access denied for user” error means PHP did reach the database server, but the user has no access to the database name it was given. It gives two likely causes: the database name is wrong, or the password is wrong.

The article also says to use the full database name, with the account prefix, exactly as the MySQL Databases section of your control panel shows it. The password to use is your hosting account password, not your members area password. The hostname should be the one in the control panel. For your account that looks like it should be sql301, not localhost.

Here is the article:

phpMyAdmin working doesn’t rule either cause out, because it logs in with its own stored details and not the ones in your config.php. So I can’t say yet which of the two it is. The full error text should show whether the database name PHP sent matches the one in the panel.

Other people have posted the same error code with a different cause, so I can’t say it’s the same thing here. If the name and password in the config do match the panel exactly, a person will need to look at the account.