title: SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: select * from `table`)
body: <p>I am using Laravel, and I have already configured .env file. When I make migration and I migrate, it affects the database, but when I try to read from same database I get this exception. Thank you</p>
  
  <blockquote>
    <p>SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost'
    (using password: YES) (SQL: select * from <code>table</code>)</p>
  </blockquote>