Hi all
When a try to bake a model, i obtain this message error:
Error: Database connection "Mysql" is missing, or could not be
created.
#0 /Users/daniph/Sites/ciudad.com/lib/Cake/Model/
ConnectionManager.php(101): DboSource->__construct(Array)
#1 /Users/daniph/Sites/ciudad.com/lib/Cake/Console/Command/Task/
ModelTask.php(898): ConnectionManager::getDataSource('test')
#2 /Users/daniph/Sites/ciudad.com/lib/Cake/Console/Command/Task/
ModelTask.php(836): ModelTask->getAllTables(NULL)
#3 /Users/daniph/Sites/ciudad.com/lib/Cake/Console/Command/Task/
ModelTask.php(924): ModelTask->listAll(NULL)
The database.php file is properly configured. Via http://localhost
Cake is able to connect to the database.
Any help please
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Sunday, March 25, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment