I have a MS sql 2000 db that needs to sync with a Mysql db.
When a password is changed in the MS SQL table, I need to make sure
that the same value is updated in the Mysql db.
I dont have any control of the gui that is initiating this event. So,
I was thinking a trigger might be an alternate route.
I just dont know how to get the username and password values that have
just been updated from MS sql to Mysql.
I do understand how to build the sql statements for both sides, but
this has to be automated and fire real time.
example:
if username "joe" just changed thier password to "pass" then I need to
fire a query, event, function, whatever, that will update the password
field in the Mysql table where the username is "joe" to "pass".
Any ideas or samples would be greatly apperciated.
When a password is changed in the MS SQL table, I need to make sure
that the same value is updated in the Mysql db.
I dont have any control of the gui that is initiating this event. So,
I was thinking a trigger might be an alternate route.
I just dont know how to get the username and password values that have
just been updated from MS sql to Mysql.
I do understand how to build the sql statements for both sides, but
this has to be automated and fire real time.
example:
if username "joe" just changed thier password to "pass" then I need to
fire a query, event, function, whatever, that will update the password
field in the Mysql table where the username is "joe" to "pass".
Any ideas or samples would be greatly apperciated.
Comment