| 21 | | They broke the database replication on both ippdb03 and ipp001. |
| | 21 | They broke the database replication on both ippdb03 and ipp001 (because of the multiple diff_skyfile_id = 10264768 in diffInputSkyfile. Error message was: "ERROR 1062 (23000): Duplicate entry '10264768' for key 1"). On both hosts I ran: |
| | 22 | {{{ |
| | 23 | mysql> STOP SLAVE; |
| | 24 | mysql> delete from diffInputSkyfile where diff_id = 162937 and skycell_id = 'skycell.1485.049'; |
| | 25 | mysql> update diffInputSkyfile set diff_skyfile_id = 10264767 where diff_id = 162937 and skycell_id = 'skycell.1485.059'; |
| | 26 | }}} |
| | 27 | and ran again the ALTER command: |
| | 28 | {{{ |
| | 29 | mysql> ALTER TABLE diffInputSkyfile DROP PRIMARY KEY, ADD PRIMARY KEY(diff_skyfile_id); |
| | 30 | }}} |
| | 31 | and then: |
| | 32 | {{{ |