Re: [symfony-users] Selecting prod/dev connections from the command line.

2010-06-07 Thread Eno
On Mon, 7 Jun 2010, Luis Alberto Zarrabeitia wrote: > So, is it configured "per task"? Yes. > I imagined there was some kind of > config file... now that I think about it, it doesn't makes sense > either (one would have to update that one). Its built-in to the task, there's no config file. > O

Re: [symfony-users] Selecting prod/dev connections from the command line.

2010-06-07 Thread Luis Alberto Zarrabeitia
On Mon, Jun 7, 2010 at 12:47 PM, Eno wrote: > On Mon, 7 Jun 2010, Luis Alberto Zarrabeitia wrote: > >> How do I make tools like ./symfony guard:promote use the right DB >> connection configuration? > > Im not familiar with that CLI task, but does it take any additional > parameters allowing you to

Re: [symfony-users] Selecting prod/dev connections from the command line.

2010-06-07 Thread Eno
On Mon, 7 Jun 2010, Luis Alberto Zarrabeitia wrote: > How do I make tools like ./symfony guard:promote use the right DB > connection configuration? Im not familiar with that CLI task, but does it take any additional parameters allowing you to specify the connection? Maybe try the help command?

[symfony-users] Selecting prod/dev connections from the command line.

2010-06-07 Thread Luis Alberto Zarrabeitia
How do I make tools like ./symfony guard:promote use the right DB connection configuration? I have a "production" and "development" DBs. When I'm accessing through the web server, symfony choses the right DB to use ('dev' in my dev environment, and prod in my production environment). However, when