title: How to configure doctrine (Symfony 4) to connect with MySQL 8.0?
body: <p>I got this error:</p>
  
  <blockquote>
    <p>PDO::__construct(): The server requested authentication method unknown
    to the client [caching_sha2_password]</p>
  </blockquote>
  
  <p>I know that MySQL changed their authentication method in version 8, but how should I update to the latest driver and connect with it in doctrine (Symfony 4)?</p>