数据库同步或迁移工具 [英] Database sync or migration tool

查看:197
本文介绍了数据库同步或迁移工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

手动保持生产和开发数据库同步确实很痛苦.

It is really a pain keeping production and development databases in sync manually.

有没有一种工具可以使两个数据库保持同步?诸如令人惊奇的 Laravel框架的迁移之类的东西?

Is there any tool that allows one to keep the two databases in sync? Something like the amazing Laravel framework's migrations thing?

我正在使用MySQL和PHP.我在这里和那里搜索,但是找不到适合该工作的工具.

I am using MySQL and PHP. I searched here and there but wasn't able to spot the right tool for the job.

推荐答案

您肯定应该看看 phinx .这是我使用MySQL和PHP执行的复杂数据库迁移步骤的示例: https://coderwall.com/p/v3qg2q

You should definitely have a look at phinx. Here's an example of a complex database migration step I performed using MySQL and PHP: https://coderwall.com/p/v3qg2q

这篇关于数据库同步或迁移工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆