title: "SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' : Laravel
body: <p>I am unable to <strong>register a user account</strong> in a Laravel project.</p>
  
  <p><strong>Error</strong></p>
  
  <pre><code>SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) (SQL: select count(*) as aggregate from `users` where `email` = xxx@xx.com)
  </code></pre>
  
  <p>Is there a solution?</p>