title: How to resolve: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client?
body: <p>I get the error whenever I try to access the route created with valet <code>home.test</code>. I have tried all the solutions listed in similar issues like this <a href="https://stackoverflow.com/questions/53607322/laravel-sqlstatehy000-2054-the-server-requested-authentication-method-unkno">solution</a> but nothing seems to work</p>
  <p>The error is:</p>
  <pre><code>SQLSTATE[HY000] [2054] The server requested authentication method 
  unknown to the client (SQL: select * from `user_meta` where `user_id` is null limit 1)
  </code></pre>
  <pre><code>MySQL version - 8.0.19
  PHP version - 7.4.7
  </code></pre>
  <p>My migrations work fine as I can see the tables created.</p>
  <p>Any help would be appreciated.</p>
  <p>Update<code>.env</code> config</p>
  <pre><code>DB_CONNECTION=mysql
  
  DB_HOST=127.0.0.1
  DB_PORT=3306
  DB_DATABASE=home
  DB_USERNAME=root
  DB_PASSWORD=abcd
  
  TENANCY_HOST=localhost
  TENANCY_PORT=3306
  TENANCY_DATABASE=home
  TENANCY_USERNAME=root
  TENANCY_PASSWORD=abcd
  </code></pre>