Home > Database > Mysql Tutorial > mysql环形同步(多主多从)_MySQL

mysql环形同步(多主多从)_MySQL

WBOY
Release: 2016-06-01 13:48:53
Original
1463 people have browsed it

bitsCN.com

  其实跟普通的同步一样,假设有三台数据库服务器 A  B  C  环形同步就是  B从A同步 C从B同步 A从C同步   这样的好处就是每一台都可以写

  记得为my.cnf加上 log-slave-updates 选项  这样从服务器读的数据才会更新bin日志

bitsCN.com
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template