How to solve this problem?

Warning : mysqli::__construct(): The server requested authentication method unknown to the client [caching_sha2_password] in C:\dolibarr\www\dolibarr\htdocs\core\db\mysqli.class.php on line 201

Warning : mysqli::__construct(): (HY000/2054): The server requested authentication method unknown to the client in C:\dolibarr\www\dolibarr\htdocs\core\db\mysqli.class.php on line 201
DolibarrHasDetectedError.
InformationToHelpDiagnose:
Date: 20210726064252
Dolibarr: 13.0.3 - https://www.dolibarr.org
PHP: 7.3.12
Server: Apache/2.4.41 (Win64) PHP/7.3.12
OS: Windows NT ALAM 10.0 build 19042 (Windows 10) AMD64
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36

RequestedUrl: /dolibarr/
Referer:
MenuManager:

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

Message: host=localhost, port=3306, user=dolibarrmysql, databasename=dolibarr, The server requested authentication method unknown to the client

I have the same database errors. I installed the Bitnami Dolibarr VM, created a couple of user accounts, turned on a number of modules, everything was working. I shut down the VM and rebooted the host machine. Now I get this message on the web page when trying to connect:

DolibarrHasDetectedError.
InformationToHelpDiagnose:
Date: 20220205142730
Dolibarr: 14.0.5 - https://www.dolibarr.org
PHP: 7.4.27
Server: Apache/2.4.52 (Unix) OpenSSL/1.1.1d
OS: Linux debian 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64
UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0

RequestedUrl: /
Referer:
MenuManager:

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

Message: host=127.0.0.1, port=3306, user=bn_dolibarr, databasename=bitnami_dolibarr, Connection refused

Any ideas? Thanks - Pete

Hi,

I am having the same problem…Dolibarr is installed on a bitnami machine…everytime I restart the machine, I get the message below…sometime the problem disapear alone after a number of restart…I had enough of this problem…please someone help?

DolibarrHasDetectedError.
InformationToHelpDiagnose:
Date: 20220425173359
Dolibarr: 14.0.3 - https://www.dolibarr.org
PHP: 7.4.24
Server: Apache/2.4.51 (Unix) OpenSSL/1.1.1n
OS: Linux debian 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64
UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

RequestedUrl: /
Referer:
MenuManager:

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

Message: host=127.0.0.1, port=3306, user=bn_dolibarr, databasename=bitnami_dolibarr, Connection refused