I don't have multiple connections and I'm having the same problem. It was
working until I've updated today my vendors (I update them every three or
four days).

What I've found is that the connection is loaded, because I can access to it
from the entity manager, but there's no service with that connection and
this format for its name/^doctrine\.dbal\.(.*)_connection$/ (which is used
to get the connection for the Doctrine commands). There's, however, a
service called "database_connection" with the connection. It seems that this
is the reason why the Doctrine commands are not working. What I didn't find
yet is the source where this name is set, or why it's used.

On Mon, Jan 10, 2011 at 2:16 PM, Christophe COEVOET <[email protected]> wrote:

> Le 10/01/2011 16:04, Dator a écrit :
>
>  I tried with that
>>
>> doctrine.dbal:
>>    default_connection:       default
>>    connections:
>>        default:
>>            host:   localhost
>>            driver:   PDOMySql
>>            dbname:   test
>>            user:     root
>>            password: root
>>
>> I get the same error ... with the master of fabpot/symfony .
>>
>> Any ideas Stof ?
>>
>> Thanks
>>
>>  We discussed a similar problem on IRC. It seems taht both DBAL and ORM
> have issues with multiple connections at the moment.
> If you only need one connection using the short syntax will solve your
> problem:
>
> doctrine.dbal:
>    host: localhost
>    user: root
>    ...
>
> Regards
>
> --
> Christophe | Stof
>
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-devs%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" 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/symfony-devs?hl=en

Reply via email to