On my server, I have two databases : db_first and db_second.
Theses db have exactly the same structure and I want to make a relation between them.
Exemple : db_first and db_second have a table called “account”
If I add a result into db_first.account, I want the same result in db_second.account
If I update a result into db_first.account, I want the same update in db_second.account
But if I update a result into db_second.account, I want the same update in db_first.account
So, it’s a bidirectional communication.
Is it possible with MySQL ?
(please don’t ask me why I have to use a solution as ugly :/)
Thank’s.
I think what you are referring to is known as multi Master replication. And yes it is possible.