MySQL Master error screenshot

Source: Internet
Author: User

1, first confirm the error Binlog and last event.

2, then go to the main machine to see the error content and the location of the error, if the end of the error, you can directly from the new Binlog synchronization.

#/mysql/logs#. /bin/mysqlbinlog--start-position=506063695 mysql-bin.000159 | Less

3, see the error is the last value of the file (Binlog abnormal shutdown caused), you can directly define the synchronization from the starting point, synchronization.

mysql> Change Master to master_log_file= ' mysql-bin.000160 ', master_log_pos=4

Note: The new sync start point requires viewing the error on the main library after the Binlog new Binlog and the new Binlog start POS

#/home/work/mysql/logs#. /bin/mysqlbinlog mysql-bin.000159 | More

MySQL Master error

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.