title: Can't connect to MySQL through MAMP
body: <p>So here's my array containing my credentials. </p>
  
  <pre><code>'mysql' =&gt; array(
      'host' =&gt; '127.0.0.1',
      'username' =&gt; 'root',
      'password' =&gt; '*',
      'db' =&gt; 's'
  )
  </code></pre>
  
  <p>And the actual connection </p>
  
  <pre><code> try{
      $this-&gt;_pdo = new PDO('mysql:host=' . Config::get('mysql/host') . ';dbname=' . Config::get('mysql/db'),Config::get('mysql/username'),Config::get('mysql/username'));
  }
  catch(PDOException $e){
      die($e-&gt;getMessage());
  }
  </code></pre>
  
  <p>And this is the error I get </p>
  
  <blockquote>
    <p>SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)</p>
  </blockquote>
  
  <p>But I am aware that this means  access is denied, but the credentials are 100% correct. I also tested via command line and through workbench. </p>