Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
public:mysql [2022/08/04 15:35] – fix indent Nicopublic:mysql [2026/04/05 11:06] (current) – [duplicate entry in replication] cosmetic fixes Nico
Line 161: Line 161:
  
   * stop slave   * stop slave
-<code sql>+ 
 +```sql
 mysql> STOP SLAVE; mysql> STOP SLAVE;
-</code>+``` 
   * either manually delete the duplicate entry, or skip counter by issuing:   * either manually delete the duplicate entry, or skip counter by issuing:
-<code sql>+ 
 +```sql
 mysql> SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1; mysql> SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1;
-</code>+``` 
   * start slave   * start slave
-<code sql>+ 
 +```sql
 mysql> START SLAVE; mysql> START SLAVE;
-</code>+```
  
 ==== rebuild database indexes ==== ==== rebuild database indexes ====