# Error establishing a database connection wp admin

**URL:** <https://forum.infinityfree.com/t/error-establishing-a-database-connection-wp-admin/72391>\
**Category:** Hosting Support\
**Created:** [February 16, 2023, 5:40pm UTC](https://forum.infinityfree.com/t/error-establishing-a-database-connection-wp-admin/72391 "2023-02-16T17:40:23Z")\
**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:** [February 16, 2023, 9:34pm UTC](https://forum.infinityfree.com/t/error-establishing-a-database-connection-wp-admin/72391/3 "2023-02-16T21:34:46Z")

</div>

The error message you’re seeing is covered here:

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

To get the actual error message:

> **[Debugging in WordPress – Advanced Administration Handbook |...](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/)**
>
> Debugging PHP code is part of any project, but WordPress comes with specific debugging systems designed to simplify the process as well as…

---

_[View the full topic](https://forum.infinityfree.com/t/error-establishing-a-database-connection-wp-admin/72391)._
