# Error establishing a database connection

**URL:** <https://forum.infinityfree.com/t/error-establishing-a-database-connection/66207>\
**Category:** Hosting Support\
**Created:** [September 14, 2022, 7:02am UTC](https://forum.infinityfree.com/t/error-establishing-a-database-connection/66207 "2022-09-14T07:02:30Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [September 14, 2022, 8:06am UTC](https://forum.infinityfree.com/t/error-establishing-a-database-connection/66207/3 "2022-09-14T08:06:52Z")

</div>

Help yourself! This error message is explained in this article:

> [@Common MySQL Connection Errors](https://forum.infinityfree.com/t/common-mysql-connection-errors/49338#unable-to-connect-to-database-error-connecting-to-database-2):
>
> 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/error-establishing-a-database-connection/66207)._
