I'm using php 7.2.2 and mysql 8.0.
When I try to connect with the right credential I get this error:
PDOException::("PDO::__construct(): The server requested authentication method unknown to the client [caching_sha2_password]")
Need help to troubleshoot the problem.