What is, if there is, a good way to keep a string for dividing databases (possibly on different computers) in synchronization?
For clarity. I have several mysql databases that share a user table with the same schema. There is a “main” database that has its own unique schema, but contains a user table that contains all the user records. Then there are several “subordinate” databases, which for the most part use the same schema, which also contains a user table (with the same schema), which stores a subset of user records.
When an update occurs with an instance of a user record in any database, I want this change to apply to all instances of this user record in all the databases in which it is located.
I am using mysql, php5.3 and doctrine 1.2.x for orm running on ubuntu VPS servers.
source
share