Home > Database > Mysql Tutorial > mysql主从服务器配置特殊问题_MySQL

mysql主从服务器配置特殊问题_MySQL

WBOY
Release: 2016-06-01 13:20:35
Original
784 people have browsed it

bitsCN.com 1.由于设置了slave的配置信息,mysql在数据库data目录下生成master.info,所以如有要修改相关slave的配置要先删除该文件,否则修改的配置不能生效。

提示:如果修改了主服务器的配置,记得删除从服务器上的master.info文件。否则从服务器使用的还是老配置,可能会导致错误。

2.停止数据库服务,并且删除当前的所有mysql日志(默认是mysql-bin.*)

3.把从服务器的同步日志删除(默认是mysql-relay-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