# Unable to connect to database

**URL:** <https://forum.infinityfree.com/t/unable-to-connect-to-database/94046>\
**Category:** Hosting Support\
**Created:** [May 25, 2024, 10:42pm UTC](https://forum.infinityfree.com/t/unable-to-connect-to-database/94046 "2024-05-25T22:42:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [May 25, 2024, 10:46pm UTC](https://forum.infinityfree.com/t/unable-to-connect-to-database/94046/2 "2024-05-25T22:46:23Z")

</div>

> [@anon45866002](#):
>
> all my credentials are correct

Nope, the database name or password is wrong.

the database name is `if0_36604612_<DATABASENAME>`

the password can be found in your client area (It is not the password you use to login to the dashboard)

see more:

> [@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…

---

_[View the full topic](https://forum.infinityfree.com/t/unable-to-connect-to-database/94046)._
