Mysql5.5.19/20 synchronization BUG

Source: Internet
Author: User
MYSQL 5.5.19 (master) mysql5.1.59 (slave) may cause problems when copying earlier versions to higher versions. MYSQL restarts repeatedly and a BUG message appears in the error log. Note: The earlier version is synchronized to the later version.

MYSQL 5.5.19 (master) mysql5.1.59 (slave) may cause problems when copying earlier versions to higher versions. MYSQL restarts repeatedly and a BUG message appears in the error log. Note: The earlier version is synchronized to the later version.

MySQL 5.5.19 (master)

Mysql5.1.59 (slave)

During replication from a lower version to a higher version, problems may occur. The US space and MYSQL are restarted repeatedly, and a BUG message appears in the error log.

Note: For synchronization from a lower version to a higher version, the mysql Service of the Master node restarts cyclically as long as the synchronization point is incorrect. This is true for both MYSQL and Percona versions, but the versions are consistent, this problem will not occur. If the point is correct, the mysql service of the host Master will not be restarted cyclically due to synchronization errors of the Hong Kong virtual host.

For example, the binlog and POS points on the master are mysql-bin.000001, 107

On SLAVE, change master to MASTER_LOG_FILE = 'mysql-bin.000001 ', MASTER_LOG_POS = 106;

This will trigger the BUG. You can try.

The latest version 5.5.25a has been fixed.

However, it is not recommended that the earlier versions be synchronized to the higher versions. server space is explained in the manual:

This article is from the "hechun's technical column" blog. Be sure to keep this source

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.