title: How to Non-stop replication mysql server
body: <p>In the production environment, I have a master and slave,but for some reason</p>
  <p>some synchronization data of the slave is not synchronized</p>
  <p>so the error code 1032 is caused.</p>
  <p>I saw the solution and use the command:</p>
  <pre><code>set global sql_slave_skip_counter=1;
  </code></pre>
  <p>Now that db cannot be shut down, what method can I use to repair my slave</p>
  <p>The master will always insert, delete, and update operations, Can't stop.</p>
  <p>slave is only used to read,and I can Truncate slave.</p>