MySQL Error 1044 – PHP Can Authenticate but Cannot Access Database

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.

The database name in your error is misspelled. It says cofeevote, but your database is called coffeevote, with two f’s. The full name is if0_43387655_coffeevote.

MySQL gives error 1044 when the user can log in but has no access to the database name it was given. A name that doesn’t exist gets that same error. So the login worked, and the database name in your script is what failed. Your MySQL user and its permissions are fine.

Fix the name in your config or diagnostic script, then reload the site. The article below covers this error, and also the password and hostname mistakes that can cause it.