Home > Database > Mysql Tutorial > mysql 主备切换 主从互换

mysql 主备切换 主从互换

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 09:35:46
Original
1909 people have browsed it

mysql

如题,我有两个数据库
主库 A 192.168.30.128
备库 B 192.168.28.129
现在的情况是我把两台数据库用主从复制模式,主库开启binlog,备库通过主库binlog重演主库,生产主库备份。主库master 备库slave ,备库作为了只读数据库,现在主库挂了,有何办法能使主库失效,应用直接启动备库

Related labels:
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
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template