[symfony-users] Accessing Databases not specified in databases.yml

2010-09-07 Thread DEEPAK BHATIA
Hi, I have four projects in the htdocs directory and each have separate database in databases.yml. Now I have user login/password in each of the four different databases. How can I write the code in symfony when user change password, it gets changed in all the databases. Regards Deepak Bhatia

Re: [symfony-users] Accessing Databases not specified in databases.yml

2010-09-07 Thread Sebastien Armand [Pink]
I had to do something like that some time ago to integrate the logins of 2 soft we were using (not our code) and did so using triggers in mysql. On Tue, Sep 7, 2010 at 2:07 PM, DEEPAK BHATIA toreachdee...@gmail.comwrote: Hi, I have four projects in the htdocs directory and each have separate

Re: [symfony-users] Accessing Databases not specified in databases.yml

2010-09-07 Thread DEEPAK BHATIA
Hi, Thanks for your mail. Can get some google link which is useful or send me some sample code of mysql trigger and how it gets invoked in symfony project ? Regards Deepak Bhatia On Tue, Sep 7, 2010 at 2:31 PM, Sebastien Armand [Pink] khe...@gmail.comwrote: I had to do something like that

Re: [symfony-users] Accessing Databases not specified in databases.yml

2010-09-07 Thread Sebastien Armand [Pink]
I absolutely cannot and I'm sorry for that! It was a few years ago that I did it! My original meaning was that you probably would not need any PHP and symfony in here. See the mysql doc about triggers and stored procedures: On certain actions (any password modification in your case) you will start