MySQL数据库从服务器到客户端的传输
我想将我的一台机器数据库传输到另一台机器。
每当在我的一台机器(服务器)中生成数据时,都必须将其传输到另一台机器。
但是,如果我从服务器中删除数据,则更改不应暗示在另一台计算机上。
只允许从服务器到客户端的插入,从服务器到客户端的删除不应意味着更改。
I want to transfer my one machine database to another machine.
Whenever in my one machine(server) data is generated it must be transferred to another machine.
But if I delete data from my server the changes should not imply on the other machine.
Only insertion from server to client should be allowed no deletion from server to client should imply changes.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该阅读一些有关触发器的文档。在需要备份的表上放置一些 INSERT 和 UPDATE 事件。
You should read some doc about triggers. Put some on INSERT and UPDATE events on the tables you need to backup.