开发者

MySQL table synchronization

开发者 https://www.devze.com 2023-01-15 16:17 出处:网络
I have a server that constantly writes SQL queries it executes to a textfile. I want this textfile to be read by 开发者_StackOverflowa second server, execute the queries there, and remove them from th

I have a server that constantly writes SQL queries it executes to a textfile. I want this textfile to be read by 开发者_StackOverflowa second server, execute the queries there, and remove them from the textfile. This is done in an attempt to keep those 2 servers virtually synchronous with each other without changing existing code.


Try this one: http://www.maatkit.org/doc/mk-table-sync.html

But I think that Native thing such as mysql replication should be preferred

0

精彩评论

暂无评论...
验证码 换一张
取 消