When i bake (cake bake omg) an app.. it creates a db config like this:

class DATABASE_CONFIG {

        var $omg = array(
                'driver' => 'mysql',
                'persistent' => false,
                'host' => 'localhost',
                'login' => 'root',
                'password' => '',
                'database' => 'omg',
                'encoding' => 'utf-8'
        );
}

And i get an error like this:

Fatal Error (256): ConnectionManager::getDataSource - Non-existent
data source default [CORE\cake\libs\model\connection_manager.php, line
113]

When i rename $omg to $default.. it does work... does anybody know
what is wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to