Got fatal error 1236 from master when reading data from binary log: 'Could not find first log file name in binary log index file' Series 2: reset slave

Source: Internet
Author: User

Reset slave clears all slave Database Replication information.
General application scenarios: for example, switching to different masters, master-slave Redo, etc;
1. Run the command on the slave. You must stop the slave before execution.
2. after reset slave is executed, all replication-related information, including master.info, relay-log.info, and unconditional deletion of all relay logs are cleared ). note that it is unconditional, that is, it does not manage whether your slave SQL thread has replayed all the relay logs.
3. Note: after stopping slave, save the show slave status information and then execute reset slave. This information will be useful in general.

Got fatal error 1236 from master when reading data from binary log: 'Could not find first log file name in binary log index file' Series 2: reset slave

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.