PDOException: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client in 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;