Ady,

I will investigate the need for the datasource param.. It should work
without (iirc).

- Dustin


On 5/24/08 11:40 AM, "Ady" <[EMAIL PROTECTED]> wrote:

> 
> Ok - not sure if this was the way it was intended but I find that when
> I add a datasource param everything is good, so:
> 
>       classname:   PropelPDO
>       dsn:             ...
>       username:    ....
>       password:     ....
>       datasource:   propel
> 
> On May 24, 1:47 pm, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> wrote:
>> I'm also here with only one database ;o(
>> 
>> I tried your plugin yesterday and got also this issue. Everything
>> before worked fine (i mean symfony's own propel). I followed exactly
>> your docs, checked cached yml files (settings are there), checked
>> everything, but this message still appear.
>> 
>> Michael
>> 
>> On 24 Mai, 19:19, Ady <[EMAIL PROTECTED]> wrote:
>> 
>>> Dustin - wonder if you could help me with this issue I'm having with
>>> multiple DB config - the error I see is this:
>> 
>>> 'No connection information in your runtime configuration file for
>>> datasource [xxxDB]'
>> 
>>> database.yml:
>> 
>>> all:
>>>   xxxDB:
>>>     class:          sfPropelDatabase
>>>     param:
>>>       classname:  PropelPDO
>>>       dsn:          mysql:dbname=xxxDB;host=xxxDB;port=3308
>>>       username:     root
>>>       password:     xxx
>> 
>>>   propel:
>>>     class:          sfPropelDatabase
>>>     param:
>>>       classname:  PropelPDO
>>>       dsn:          mysql:dbname=xxxxDB;host=xxxDB;port=3306
>>>       username:     root
>>>       password:     xxx
>> 
>>> It seems to pick up the last config as default which is why I had to
>>> set the propel config at the end which is a problem as well.
>> 
>>> Thanks in advance
>>> A
> > 



--~--~---------~--~----~------------~-------~--~----~
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