Get one wrong tip, after running normally for a while

Hello everyone.
The Dolibarr system can run normally for a while,
then it becomes impossible to open and the following prompts are received.
Thanks so much.

DolibarrHasDetectedError.
InformationToHelpDiagnose:
Date: 20231114105515
Dolibarr: 18.0.3 - https://www.dolibarr.org
PHP: 8.1.2-1ubuntu2.14
Server: Apache/2.4.52 (Ubuntu)
OS: Linux ip-172-26-4-151 6.2.0-1015-aws #15~22.04.1-Ubuntu SMP Fri Oct 6 21:37:24 UTC 2023 x86_64
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36

RequestedUrl: /index.php?mainmenu=home&leftmenu=home
Referer: 登陆 @ 18.0.3
MenuManager:

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

Message: host=localhost, port=3306, user=dolibarr, databasename=dolibarr, Failed to connect

Thanks so much.

Hello,

The message is :

Dolibarr can’t connect the MYSQL server.

You need to see with your hosting company.