title: How to connect Laravel to MAMP mysql on Mac
body: <p>Here is my <code>Laravel</code> Database config</p>
  
  <pre><code>DB_CONNECTION=mysql
  DB_HOST=localhost
  DB_PORT=8889
  DB_DATABASE=carnet
  DB_USERNAME=root
  DB_PASSWORD=root
  </code></pre>
  
  <p>But i keep getting this error</p>
  
  <blockquote>
    <p>SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost'
    (using password: YES)</p>
  </blockquote>