My Oracle Support Banner

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 04, 2023

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.

Symptoms

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:

 

Changes

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.

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.