IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of Replication_Issues


Ignore:
Timestamp:
Nov 4, 2010, 2:58:12 PM (16 years ago)
Author:
Serge CHASTEL
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Replication_Issues

    v1 v1  
     1The purpose of this page is to show how databases replication problems were solved.
     2[[PageOutline]]
     3
     4= 20101104/1429: gpc1 replication on ipp001 =
     5  Problem detected through czartool
     6  * Logged onto ipp001
     7  * Started mysql client as root
     8  * 'SHOW SLAVE STATUS\G' showed (shortened)
     9{{{
     10          Slave_SQL_Running: No
     11                 Last_Errno: 1062
     12                 Last_Error: Error 'Duplicate entry '23' for key 1' on query. Default database: 'ippadmin'.
     13                             Query: 'INSERT into cookies (username, cookie) values ('psobs', '99497')'
     14}}}
     15  * Local non-replicated database involved... Statement skipped (in MySQL client):
     16{{{
     17  STOP SLAVE;
     18  SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1;
     19  START SLAVE;
     20}}}
     21  * Then 'SHOW SLAVE STATUS\G' showed (shortened)
     22{{{
     23          Slave_SQL_Running: Yes
     24                 Last_Errno: 0
     25                 Last_Error:
     26}}}
     27
     28