How to sync two MySQL tables?

后端 未结 2 1448
情书的邮戳
情书的邮戳 2020-12-30 09:04

If I have a table (lets call it orders) on one server of mine, named, for example, local. And I have this same table one another server of mine, na

相关标签:
2条回答
  • 2020-12-30 09:11

    I am solving similar problem of syncing two tables constantly.

    Among all the scripts (of which most are old) I've found this actively developed app (looks promising)

    https://github.com/mrjgreen/db-sync

    I'll try it and maybe later I'll write an example.

    0 讨论(0)
  • 2020-12-30 09:16

    pt-table-sync can do this: http://www.percona.com/doc/percona-toolkit/2.1/pt-table-sync.html

    See also other SO questions and answers mentioning pt-table-sync.

    0 讨论(0)
提交回复
热议问题