Skip to content

Instantly share code, notes, and snippets.

@dator-zz
Created January 9, 2011 18:20
Show Gist options
  • Save dator-zz/771875 to your computer and use it in GitHub Desktop.
Save dator-zz/771875 to your computer and use it in GitHub Desktop.
I tried to run :
php app/console doctrine:database:drop
But i get this error:
[InvalidArgumentException]
Could not find any configured connections
Here is my configuration( DBAL )
## Doctrine Configuration
doctrine.dbal:
dbname: test
user: root
password: root
If i try :
doctrine.dbal:
connections:
default:
dbname: sc2watchr
user: root
password: root
Same error with this ?
Any one ? :)
Thanks ^^
@dator-zz
Copy link
Author

dator-zz commented Jan 9, 2011

Hummm

DoctrineCommand::getDoctrineConnections()

there is no dbal connections in $this->container->getServiceIds(); when i dump that :s

Ideas ? :)

@everzet
Copy link

everzet commented Jan 10, 2011

I found that by myself 2 days ago, but no ideas about "why" =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment