Access Denied Error for MySQL User

First of all, note that this is a public forum, so any details you share here are visible to everyone. That means, especially, DO NOT SHARE ANY SENSITIVE DETAILS SUCH AS PASSWORD HERE!

I have hidden the password in your message and reset your hosting account password for good measure.

The 500 error means that your code is crashing. But it doesn’t give any information why the code is crashing. To figure that out, please enable display_errors on your website to get an actual error message:

Note that you’ll also need to update the database password, since I reset it.

To go from “my code is crashing” to “the PHP extension is not working correctly” is a big leap in judgement that ignores a whole host of possible issues that you’re not even checking for.