mysql - How to configure 1 MySQL database running on 2 different servers?
问题描述
For my current environment, I am running 2 separate Linux boxes each running MySQL. Each server should have the exact same db (one of the servers should host the db and the other one points to it). I know this could be possible using "federated tables" but the application that the database supports has hundreds of tables. It would be very recursive to point each table to the other db.
Does anyone have any suggestions how this could be possible? I have looked all over and have not found anything quite like this scenario.
解决方案
推荐阅读
- excel - 如果值匹配,如何将值从工作表复制到另一个工作表?
- javascript - 将列表值调用到 SharePoint 页面上的表中
- typescript - 类型的并集和交集
- python - 我怎么能在 django 项目中创建一个 json 类型的文件?
- javascript - 编译打字稿时删除不可收拾的属性
- java - 有没有办法将 Jbuttons 放在 JLabel 上(带有背景图片)?
- python - Bin 在 altair 上几个月了?
- oauth-2.0 - 使用身份验证令牌授予对特定项目的访问权限
- typescript - 打字稿不理解“类型之一”中的对象键
- google-bigquery - 如何以秒为单位获取 BigQuery 中记录的平均间隔