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;"
(Doc ID 2109777.1)
Last updated on SEPTEMBER 23, 2021
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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document