title: php artisan migrate - Error - Illuminate\Database\QueryException : SQLSTATE[HY000] [2054]
body: <p>I have the following error upon doing:</p>
  
  <pre><code>php artisan migrate
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p>Illuminate\Database\QueryException : SQLSTATE[HY000] [2054] The server requested authenti cation method unknown to the client (SQL: select * from information_schema.tables where table _schema = d1 and table_name = migrations)</p>
  </blockquote>
  
  <p>Here's a screenshot;</p>
  
  <p><a href="https://i.stack.imgur.com/mJEs0.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mJEs0.jpg" alt="enter image description here"></a></p>
  
  <p>PS. Just in case: I've enabled the "extension=pdo_mysql" in my <strong>php.ini</strong> file.</p>
  
  <p>Any ideas how to fix this?</p>