Installing Sys Schema From MySQL Enterprise Monitor (MEM) On Replication Master Breaks Replication: "Could not execute Write_rows event on table sys.sys_config; Duplicate entry 'statement_truncate_len' for key 'PRIMARY', Error_code: 1062;"
Last updated on MARCH 08, 2017
Applies to:MySQL Enterprise Monitor - Version 3.1 to 3.1 [Release 3.1]
MySQL Server - Version 5.6 to 5.7 [Release 5.6 to 5.7]
Information in this document applies to any platform.
After installing the sys schema using MySQL Enterprise Monitor (MEM) on a MySQL instance that is a replication master breaks replication to the replication slave, if the replication slave already has the sys schema installed. The error is similar to:
The issue arises after using MySQL Enterprise Monitor (MEM) to install the sys schema on a replication master where the replication slave already has the sys schema installed.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms