Created
September 22, 2011 02:22
-
-
Save abbajbryant/1233884 to your computer and use it in GitHub Desktop.
Cake 2.0.0-RC2 "bake Model" issues with working database settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abbas-macbook-pro:Console abba$ ./cake bake Model | |
Welcome to CakePHP v2.0.0-RC2 Console | |
--------------------------------------------------------------- | |
App : app | |
Path: /Users/abba/Sites/foundry/app/ | |
--------------------------------------------------------------- | |
--------------------------------------------------------------- | |
Bake Model | |
Path: /Users/abba/Sites/foundry/app/Model/ | |
--------------------------------------------------------------- | |
Error: Database connection "Mysql" is missing, or could not be created. | |
#0 /Users/abba/Sites/foundry/lib/Cake/Model/ConnectionManager.php(99): DboSource->__construct(Array) | |
#1 /Users/abba/Sites/foundry/lib/Cake/Console/Command/Task/ModelTask.php(837): ConnectionManager::getDataSource('default') | |
#2 /Users/abba/Sites/foundry/lib/Cake/Console/Command/Task/ModelTask.php(782): ModelTask->getAllTables(NULL) | |
#3 /Users/abba/Sites/foundry/lib/Cake/Console/Command/Task/ModelTask.php(863): ModelTask->listAll(NULL) | |
#4 /Users/abba/Sites/foundry/lib/Cake/Console/Command/Task/ModelTask.php(186): ModelTask->getName() | |
#5 /Users/abba/Sites/foundry/lib/Cake/Console/Command/Task/ModelTask.php(84): ModelTask->_interactive() | |
#6 /Users/abba/Sites/foundry/lib/Cake/Console/Shell.php(371): ModelTask->execute() | |
#7 /Users/abba/Sites/foundry/lib/Cake/Console/Shell.php(368): Shell->runCommand('execute', Array) | |
#8 /Users/abba/Sites/foundry/lib/Cake/Console/ShellDispatcher.php(176): Shell->runCommand('Model', Array) | |
#9 /Users/abba/Sites/foundry/lib/Cake/Console/ShellDispatcher.php(69): ShellDispatcher->dispatch() | |
#10 /Users/abba/Sites/foundry/lib/Cake/Console/cake.php(24): ShellDispatcher::run(Array) | |
#11 {main} | |
abbas-macbook-pro:Console abba$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment