Home > Database > Mysql Tutorial > body text

mysql5.5.19/20同步一个BUG

WBOY
Release: 2016-06-07 17:40:15
Original
820 people have browsed it

版本mysql5.5.19(master)mysql5.1.59(slave)低版本向高版本复制时,会出现问题,MYSQL反复重启,在错误日志里,会出现一个BUG信息。注:低版本向高版本同步

版本mysql5.5.19(master)

    mysql5.1.59(slave)

低版本向高版本复制时,会出现问题,美国空间,MYSQL反复重启,在错误日志里,会出现一个BUG信息。

注:低版本向高版本同步,只要同步的点指错,主机Master的mysql服务就会循环重启,MYSQL和Percona版本均是如此,但版本一致的,就不会发生此问题。如果点指对,香港虚拟主机,同步因为某种情况同步报错,主机Master的mysql服务是不会循环重启的。

比如master上的binlog和POS点是 mysql-bin.000001,107

那么你在SLAVE上CHANGE MASTER TO MASTER_LOG_FILE='mysql-bin.000001',MASTER_LOG_POS=106;

这样就会触发那个BUG。你可以试试。

目前最新版本5.5.25a此BUG已经解决。

但不推荐低版本向高版本同步,服务器空间,手册上解释:

 

本文出自 “贺春旸的技术专栏” 博客,请务必保留此出处

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!