Home > Database > Mysql Tutorial > body text

MySQL主从复制问题解决一例

WBOY
Release: 2016-06-07 17:40:19
Original
965 people have browsed it

这是mysql关于主从复制的主库的配置相关内容:server-id=1log-bin=/mysql_log/binlog/bin-logslave-skip-errors=1062,1205max_b..

 

这是mysql关于主从复制的主库的配置相关内容:
 

之前搭建的MySQL主从复制出现问题,不能正常同步,网站空间,查看日志,发下有以下错误:

1、关闭mysql 

2、删除主库上关于binlog日志的记录文件,msater.info 和 relay-log.info

3、开启mysql

通过日志和查看binlog文件,香港虚拟主机,说明主库的配置恢复正常
 

本文出自 “开源一员” 博客,请务必保留此出处

,美国服务器
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!