The server requested authentication method unknown to the client in /var/www/html code example
Example: The server requested authentication method unknown to the client
CREATE USER 'seuUsuario'@'localhost' IDENTIFIED WITH mysql_native_password BY 'suaSenha';
GRANT ALL PRIVILEGES ON . TO 'seuUsuario'@'localhost' WITH GRANT OPTION;