Database error when I click any button

I keep having this error when working on my Dolibarr. What could be the cause? Below is the error:

DolibarrHasDetectedError.
InformationToHelpDiagnose:
Date: 20240119082300
Dolibarr: 18.0.4 - https://www.dolibarr.org
PHP: 8.0.30
Server: LiteSpeed
OS: Linux premium215.web-hosting.com 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

RequestedUrl: /erp/product/stock/list.php?leftmenu=
Referer: https://xyz/erp/
MenuManager:

DatabaseTypeManager: mysqli
RequestLastAccessInError: ErrorNoRequestInError
ReturnCodeLastAccessInError: ErrorNoRequestInError
InformationLastAccessInError: ErrorNoRequestInError

Message: host=localhost, port=3306, user=xyz, databasename=xyz, Too many connections

Please, any help?

Hello,

Your MYSQL server received too many connections => Have a look on the MYSQL configuration or ask your hosting company.

I am the only one connecting to the DB for now because I am still setting up. It’s not yet live in production. So, where could the many other connections coming from?

No idea, I don’t know your system where Dolibarr is installed.

I am running Dolibar on a live Linux server hosted with Namecheap. Kind of weird.

30s on google : MySQL/MariaDB “Too many connections” error: How to fix - IONOS

Im also experiencing the same problem recently dolibarr 19.0.2, hosting with namecheap, please tell me how did you fix it? There is only 3 people connecting to database and it gets too many connections