Connection failed: The server requested authentication method unknown to the client 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;