Hi guys!
I'm try to generate a "schema.php" with command "$ Console/cake schema
generate" but i got a error:
Error: Database connection "Postgres" is missing, or could not be
created.
#0 /Library/WebServer/Documents/fomento/lib/Cake/Model/
ConnectionManager.php(101): DboSource->__construct(Array)
#1 /Library/WebServer/Documents/fomento/lib/Cake/Model/
CakeSchema.php(203): ConnectionManager::getDataSource('default')
#2 /Library/WebServer/Documents/fomento/lib/Cake/Console/Command/
SchemaShell.php(160): CakeSchema->read(Array)
#3 /Library/WebServer/Documents/fomento/lib/Cake/Console/
Shell.php(386): SchemaShell->generate()
#4 /Library/WebServer/Documents/fomento/lib/Cake/Console/
ShellDispatcher.php(177): Shell->runCommand('generate', Array)
#5 /Library/WebServer/Documents/fomento/lib/Cake/Console/
ShellDispatcher.php(69): ShellDispatcher->dispatch()
#6 /Library/WebServer/Documents/fomento/app/Console/cake.php(41):
ShellDispatcher::run(Array)
#7 {main}
My "$default" connection "databse.php" is working when start my
application.
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php