I have just installed PHPMyAdmin 4.6.6 on a fresh Debian Stretch server with MySQL 8.0.21. When I try to log in I get these errors
#2054 - The server requested authentication method unknown to the client
mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password]
mysqli_real_connect(): (HY000/2054): The server requested authentication method unknown to the client
There are references all over Google stating that altering the user as below will solve the problem
ALTER USER 'user'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
However, this does not work for me. I have tried restarting MySQL and lighttpd. Is there another solution to this?