I have the following MySQL 5.5.16 setup, properly running: Server A w/ db.a and db.b Server B configured as slave for db.a (not db.b), by means of --replicate-wild-do-table Tables on Srv.A-db.b have triggers on insert that insert/update db.a
db.a is properly replicated in Server.B, ie, if an update via an SQL client on db.a on server.A happens, is properly replicated to db.a on Server.B
Now comes the problem: triggers on Server.A/db.b that update/insert db.a are not replicated... have lost many hours exhausting all my knowledge on this...
On Srv.A/db.b I finally created a federated table pointing to Srv.A/db.a and the triggers working through the federated table are properly replicating but is VERY slow and some things cannot be used (ON DUPLICATE UPDATE for example)... so is really a stop-goat solution.
If I try to replicate both db.a and db.b the triggers work ok, but db.b is HUGE and not supposed to be replicated the server.B.
Any suggestions on how to make triggers work on db.b-->db.a when only db.a is replicated ??
Thanks for the suggestion.