title: CakePHP Bake Shell Error: Database connection “Mysql” is missing, or could not be created
body: <p>I have an issue here with baking.<br>
  I've read the previous answers to similar questions, but the solutions seem to not apply here.</p>
  
  <p>I can't bake because the error I receive is: <code>Database connection “Mysql” is missing, or could not be created</code></p>
  
  <p>If I run <code>which php</code> the PHP it's reading is the correct path within MAMP.</p>
  
  <p>If I check the PDO modules:</p>
  
  <pre><code>php -i | grep "PDO"
  PDO
  PDO support =&gt; enabled
  PDO drivers =&gt; sqlite, pgsql, mysql
  PDO Driver for MySQL =&gt; enabled
  PDO Driver for PostgreSQL =&gt; enabled
  PDO Driver for SQLite 3.x =&gt; enabled
  </code></pre>
  
  <p>My application (or what I've completed on it so far) has no trouble connecting to the database.</p>
  
  <p>All answers around the web point to PDO not being enabled, or the incorrect path for PHP, but neither of those apply in my case.</p>