[symfony-users] Re: propel-build-sql problem for multiple Database

2007-06-20 Thread Rhinocerologist
I got this error too... I had just created a second schema.yml, and then went to install the sfGuardPlugin and did symfony propel-build- all On Jun 5, 4:29 am, JJ <[EMAIL PROTECTED]> wrote: > Hello, > I am getting following error when I try do do : symfony propel-build-sql > PHP Fatal error: Ca

[symfony-users] Re: propel-build-sql problem for multiple Database

2007-06-07 Thread andyjeffries
>From my experience no - although I don't then know how it would handle if your different database are of different types (e.g. mysql://user:[EMAIL PROTECTED]/foo and sqlite://localhost//foo.db). I'm not in that situation though, so you get a resounding "it works for me" :-) Cheers, Andy --~-

[symfony-users] Re: propel-build-sql problem for multiple Database

2007-06-07 Thread JJ
Your help resolved that Issue. I have another query Is it required to make changes in propel.ini for multiple DB. For example if I have DB1 and DB2 then its required to make saperate entry for DB1 and DB2 in propel.ini ? i.e. At propel.database.createUrl = mysql://user:[EMAIL PROTECTED]/ prope

[symfony-users] Re: propel-build-sql problem for multiple Database

2007-06-05 Thread andyjeffries
I came across this recently (in my first week of starting with symfony - aren't I a lucky chap to hit this one so early). The answer is to specify a different model for the second schema (whichever you decide is the second one). A given model in propel can only have one database. So you need a