FIX ERROR – WordPress: The server requested authentication method unknown to the client [caching_sha2_password]

When installing WordPress using MySQL 8, the following error may occur: Warning: mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password] The reason is the default authorization method.   Solution: In the file “/etc/my.cnf” in the block “mysqld” add the following:   And restart the mysqld service:   If the user has already … Continue reading "FIX ERROR – WordPress: The server requested authentication method unknown to the client [caching_sha2_password]"