Database deploy with updates

做~自己de王妃 提交于 2019-12-11 06:36:49

问题


Does anybody know how to do smart database update in realtime.

E.g. I have a site with a great database. Suddenly I've made some code changes and database structure and data changes. Is there any standard plan to do it with deploy script or any deploy soft? In realtime without stopping the site?

E.g. switch between two clone databases or smth like that. How do experienced people do that?

Site is written in php, database is MySql.

Thanx!


回答1:


Have you looked at DBdeploy? There's a good article here on managing database deployments using Phing and DBdeploy




回答2:


Red Gate MySQL Compare has a 14-day fully functional trial. It preserves data when doing schema changes. There is also a separate MySQL Data Compare tool.

http://www.red-gate.com/products/sql-development/mysql-compare/



来源:https://stackoverflow.com/questions/3289201/database-deploy-with-updates

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!