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 a
trigger that can perform a stored procedure (sql script) to copy the new
value everywhere you need.

This would be handled directly within mysql and only within mysql.

On Tue, Sep 7, 2010 at 5:49 PM, DEEPAK BHATIA wrote:

> 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] 
> wrote:
>
>> 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 
>> wrote:
>>
>>>   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
>>>
>>> --
>>> 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 users" group.
>>> To post to this group, send email to symfony-users@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> symfony-users+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/symfony-users?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 users" group.
>> To post to this group, send email to symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?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 users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


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] wrote:

> 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 
> wrote:
>
>>   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
>>
>> --
>> 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 users" group.
>> To post to this group, send email to symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?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 users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


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 wrote:

> 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
>
> --
> 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 users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


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

2010-09-06 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

-- 
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en