title: Cakephp: Cake is NOT able to connect to the database
body: <p>I have read on alot of threads here on stackoverflow and also other tutorials on the internet but can't get this to work!</p>
  
  <p>I have just setup a cake project, (used it in the past v1.3.7), and everything passes besides the database connection, i get the error message: Cake is NOT able to connect to the database.</p>
  
  <p>I have already gotten pdo_mysql up and running so i know thats not the problem.
  And i also know that the user and password can connect to the database thru the given ip/socket that i have tried.</p>
  
  <p>This is the config that im trying to use:</p>
  
  <pre><code>public $Phenomenon = array(
      'datasource' =&gt; 'Database/Mysql',
      'persistent' =&gt; false,
      'host' =&gt; 'localhost',
      'login' =&gt; 'cake',
      'password' =&gt; 'theCakePass',
      'database' =&gt; 'Phenomenon',
  );
  </code></pre>
  
  <p>(Also tried 127.0.0.1 instead of localhost)</p>
  
  <p>So my question is: How can i get more verbose error messages so i can find out whats wrong? Or simply how do i solve this?</p>
  
  <p>System Specs:</p>
  
  <pre><code>Mac OS X 10.7
  Apache/2.2.20
  PHP 5.3.9
  </code></pre>