本文介绍了Rails 3和mysql主从复制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要在Rails应用中设置mysql主从复制.

Want to set up mysql master-slave replications in rails app.

Rails 3是否有可用的插件/数据库适配器?受虐插件是否可以在Rails 3上正常使用?

Are there plugins/db adapters available for Rails 3? Does the Masochism plugin work properly with rails 3?

推荐答案

尝试使用章鱼,它同时支持rails3和rails2.3: https://github.com/tchandy/octopus

Try Octopus, which supports both rails3 and rails2.3:https://github.com/tchandy/octopus

受虐狂,DbCharmer,data_fabric等可能永远不会为Rails3更新,因为许多ActiveRecord内部已发生了巨大变化.

Masochism, DbCharmer, data_fabric et al will probably never be updated for Rails3 since so many ActiveRecord internals have drastically changed.

这篇关于Rails 3和mysql主从复制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 04:00