# Error establishing a database connection

**URL:** <https://forum.infinityfree.com/t/error-establishing-a-database-connection/78416>\
**Category:** Hosting Support\
**Created:** [July 3, 2023, 10:54am UTC](https://forum.infinityfree.com/t/error-establishing-a-database-connection/78416 "2023-07-03T10:54:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![karmeljuk](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/karmeljuk/32/35426_2.png) [@karmeljuk](https://forum.infinityfree.com/u/karmeljuk)\
**Post date:** [July 3, 2023, 10:54am UTC](https://forum.infinityfree.com/t/error-establishing-a-database-connection/78416/1 "2023-07-03T10:54:33Z")

</div>

### Website URL

[https://bosanoga.epizy.com/](https://bosanoga.epizy.com/)

### Error Message

**Warning** : mysqli\_real\_connect(): (HY000/1203): User epiz\_27048370 already has more than ‘max\_user\_connections’ active connections in **/home/vol6\_4/epizy.com/epiz\_27048370/bosanoga.epizy.com/htdocs/wp-includes/class-wpdb.php** on line **2019**

**Deprecated** : mysql\_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in **/home/vol6\_4/epizy.com/epiz\_27048370/bosanoga.epizy.com/htdocs/wp-includes/class-wpdb.php** on line **2051**

**Warning** : mysql\_connect(): User epiz\_27048370 already has more than ‘max\_user\_connections’ active connections in **/home/vol6\_4/epizy.com/epiz\_27048370/bosanoga.epizy.com/htdocs/wp-includes/class-wpdb.php** on line **2051**

`User epiz_27048370 already has more than 'max_user_connections' active connections`

### Other Information

WordPress Version 6.2.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:** [July 3, 2023, 10:58am UTC](https://forum.infinityfree.com/t/error-establishing-a-database-connection/78416/2 "2023-07-03T10:58:15Z")

</div>

Please read this:

> [@Wordpress and website can't connect to SQL Database](https://forum.infinityfree.com/t/wordpress-and-website-cant-connect-to-sql-database/77940/20):
>
> Yeah it seems to be caused by your website opening unusual amount of database connections, which can be caused by either so many traffics (though it should not trigger it unless in rare circumcations) or you have installed plugins which open many database connections in background.

and also [the plenty of topics with answers while searching for `max_user_connections`](https://forum.infinityfree.com/search?q=max_user_connections), as that error has been discussed so many times now.

---

<div class="post-metadata">

**Author:** ![karmeljuk](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/karmeljuk/32/35426_2.png) [@karmeljuk](https://forum.infinityfree.com/u/karmeljuk)\
**Post date:** [July 3, 2023, 2:55pm UTC](https://forum.infinityfree.com/t/error-establishing-a-database-connection/78416/3 "2023-07-03T14:55:17Z")

</div>

Thank you  
I read almost all the topics but I don’t see a solution how to fix it on WordPress

---

<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:** [July 3, 2023, 3:06pm UTC](https://forum.infinityfree.com/t/error-establishing-a-database-connection/78416/4 "2023-07-03T15:06:49Z")

</div>

Well, you should check for any heavy plugin installed on the website, and if so, uninstall it to see if it makes a difference. I would also reference the article @KangJL sent after me.

---

<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:** [July 3, 2023, 3:08pm UTC](https://forum.infinityfree.com/t/error-establishing-a-database-connection/78416/5 "2023-07-03T15:08:04Z")

</div>

> [@karmeljuk](#):
>
> but I don’t see a solution how to fix it on WordPress

Read again

> [@How to fix max\_user\_connections problem](https://forum.infinityfree.com/t/how-to-fix-max-user-connections-problem/16247/3):
>
> The “max\_user\_connections” limit it set to prevent a single account from creating a ton of connections to the database and overloading the server, causing problems for everyone else. Increasing the maximum number of connections would be the easy solution. But unless you host your own database server, you can’t change that limit. Note that this is a MySQL restrictions, not a PHP restriction. Instead, there are some other things you could try: If you have multiple websites on the same account,…

---

<div class="post-metadata">

**Author:** ![karmeljuk](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/karmeljuk/32/35426_2.png) [@karmeljuk](https://forum.infinityfree.com/u/karmeljuk)\
**Post date:** [July 3, 2023, 4:03pm UTC](https://forum.infinityfree.com/t/error-establishing-a-database-connection/78416/6 "2023-07-03T16:03:27Z")

</div>

I’ve disabled all plugins. But I still see this error when I want to export WordPress content to markdown using plugin [WP Gatsby Markdown Exporter – WordPress plugin | WordPress.org](https://wordpress.org/plugins/wp-gatsby-markdown-exporter/)

---

<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:** [July 4, 2023, 5:49am UTC](https://forum.infinityfree.com/t/error-establishing-a-database-connection/78416/7 "2023-07-04T05:49:32Z")

</div>

> [@karmeljuk](#):
>
> But I still see this error

There could be a lot of reasons.  
This is the most likely cause

 ![image](https://forum-cdn.infinityfree.net/original/3X/4/a/4aca87c23b6cd0ecef47b114254c87d834a99e22.png)

> [@karmeljuk](#):
>
> I’ve disabled all plugins.

You did not. This means the plugin is not well-suited for free hosting

---

<div class="post-metadata">

**Author:** ![karmeljuk](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/karmeljuk/32/35426_2.png) [@karmeljuk](https://forum.infinityfree.com/u/karmeljuk)\
**Post date:** [July 4, 2023, 11:12am UTC](https://forum.infinityfree.com/t/error-establishing-a-database-connection/78416/8 "2023-07-04T11:12:44Z")

</div>

ok, thanks for your help

---

<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:** [July 11, 2023, 11:13am UTC](https://forum.infinityfree.com/t/error-establishing-a-database-connection/78416/9 "2023-07-11T11:13:30Z")

</div>

Closed on July 11, 2023, 11:13am UTC

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