# Database error

**URL:** <https://forum.infinityfree.com/t/database-error/98439>\
**Category:** Hosting Support\
**Created:** [September 4, 2024, 1:37pm UTC](https://forum.infinityfree.com/t/database-error/98439 "2024-09-04T13:37:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![taichitaekwondo](https://forum.infinityfree.com/letter_avatar/taichitaekwondo/32/6_449c533f586939b6e5f246632a46421f.png) [@taichitaekwondo](https://forum.infinityfree.com/u/taichitaekwondo)\
**Post date:** [September 4, 2024, 1:37pm UTC](https://forum.infinityfree.com/t/database-error/98439/1 "2024-09-04T13:37:32Z")

</div>

### Website URL

(please specify the URL of the site on which you are experiencing the problem)

### Error Message

Database connection error  
(please share the FULL error message you see, if applicable)

### Other Information

(other information and details relevant to your question)

---

<div class="post-metadata">

**Author:** ![taichitaekwondo](https://forum.infinityfree.com/letter_avatar/taichitaekwondo/32/6_449c533f586939b6e5f246632a46421f.png) [@taichitaekwondo](https://forum.infinityfree.com/u/taichitaekwondo)\
**Post date:** [September 4, 2024, 1:38pm UTC](https://forum.infinityfree.com/t/database-error/98439/2 "2024-09-04T13:38:29Z")

</div>

[http://taichitech.000.pe/taekwondo](http://taichitech.000.pe/taekwondo)

---

<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:** [September 4, 2024, 2:00pm UTC](https://forum.infinityfree.com/t/database-error/98439/3 "2024-09-04T14:00:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [September 4, 2024, 2:03pm UTC](https://forum.infinityfree.com/t/database-error/98439/4 "2024-09-04T14:03:02Z")

</div>

> [@taichitaekwondo](#):
>
> Database connection error

This should be more applicable

> [@Installation failed: There has been a critical error on your website](https://forum.infinityfree.com/t/installation-failed-there-has-been-a-critical-error-on-your-website/49361/1):
>
> You can figure this out by enabling debug mode in WordPress:
> 
> 1. Login to an FTP client of your choice or our web based file manager (found in the client area and control panel).
> 
> ![Screenshot from 2022-07-17 11-34-36](https://forum-cdn.infinityfree.net/original/3X/2/2/228461bfc01bb16fd8b8f138ea9805601694db5f.png)
> 
> 1. Navigate to your website folder (which is `htdocs` for your first domain and `example.com/htdocs` for addon domains and subdomains).
> 2. Open the file `wp-config.php` and find the line which contains `WP_DEBUG`. On that line, replace `false` with `true` and save the file.
> 
> ![image](https://forum-cdn.infinityfree.net/original/3X/0/7/07153de6bdc9e375b5af6a5072c4ef05c90139dd.png)
> 
> 1. Refresh the page on your website and you should now see error messages.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [September 11, 2024, 2:03pm UTC](https://forum.infinityfree.com/t/database-error/98439/5 "2024-09-11T14:03:07Z")

</div>

Closed on September 11, 2024, 2:03pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
