title: CakePHP Bake Error: Database connection “Mysql” is missing, or could not be created
body: <p>i just download the cakephp 2.5.1 extract and create a database.</p>
  
  <p>now i am try to using cake bake but terminal showing that error (i am using ubuntu)</p>
  
  <pre><code>Error: Database connection “Mysql” is missing, or could not be created
  </code></pre>
  
  <p>also no issue with database connection.just tested with pages/index function. its working fine.</p>
  
  <p>should i used empty table ? currently i am using current project database.</p>
  
  <p>database.php</p>
  
  <p>class DATABASE_CONFIG {</p>
  
  <pre><code>public $default = array(
      'datasource' =&gt; 'Database/Mysql',
      'persistent' =&gt; false,
      'host' =&gt; 'localhost',
      'login' =&gt; 'root',
      'password' =&gt; '',
      'database' =&gt; 'abcd',
      'prefix' =&gt; 'lab_',
      'encoding' =&gt; 'utf8',
  );
  public $test = array(
      'datasource' =&gt; 'Database/Mysql',
      'persistent' =&gt; false,
      'host' =&gt; 'localhost',
      'login' =&gt; 'user',
      'password' =&gt; 'password',
      'database' =&gt; 'test_database_name',
      'encoding' =&gt; 'utf8',
  );
  </code></pre>
  
  <p>}</p>
  
  <p><img src="https://i.stack.imgur.com/FAsQX.png" alt="enter image description here"></p>
  
  <p>Sql connect working fine ( find query result ) > 
  <img src="https://i.stack.imgur.com/Ka8mX.png" alt="enter image description here"></p>
  
  <p>Thanks </p>
  
  <p>update > 
  <img src="https://i.stack.imgur.com/en8hq.png" alt="cake bake screenshot - update "></p>