# Database connection error

**URL:** <https://forum.infinityfree.com/t/database-connection-error/98093>\
**Category:** Hosting Support\
**Created:** [August 26, 2024, 10:15pm UTC](https://forum.infinityfree.com/t/database-connection-error/98093 "2024-08-26T22:15:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![anon90933456](https://forum.infinityfree.com/letter_avatar/anon90933456/32/6_449c533f586939b6e5f246632a46421f.png) [@anon90933456](https://forum.infinityfree.com/u/anon90933456)\
**Post date:** [August 26, 2024, 10:18pm UTC](https://forum.infinityfree.com/t/database-connection-error/98093/2 "2024-08-26T22:18:00Z")

</div>

Hi and welcome to the forum! Try this first:

> [@Common MySQL Connection Errors](https://forum.infinityfree.com/t/common-mysql-connection-errors/49338):
>
> Many websites use MySQL databases to store information and settings. However, there are some reasons why the connection to the database may fail. This article describes some commonly seen error messages when connecting to a database, as well as some general tips to keep in mind when setting up a database connection. Common Error Messages Using MySQL is great, but the error message returned if there is an issue logging in to your database can be quite confusing. Here are some commonly seen error…

If it still doesn’t work, you might need to change your hosting account password from the Client Area as the part of the article I’m linking to says:

> [@Unable to access phpMyAdmin](https://forum.infinityfree.com/t/unable-to-access-phpmyadmin/49344/1):
>
> ## Change the account password
> 
> Sometimes, if you change your password, the password isn’t processed correctly in the database server. You can force the password to be reset again by changing your hosting account password through the client area. Please make sure to use a different password initially, although you can change the password back to the original password you were using afterwards.
> 
> After changing the hosting account password, please wait for at least 15 minutes for the changes to go through the system. During this time, you may also want to clear cache and cookies to help make sure you will actually use the new password for phpMyAdmin.

And afterwards change the password on your `wp-config.php` file as well.

---

_[View the full topic](https://forum.infinityfree.com/t/database-connection-error/98093)._
