My Oracle Support Banner

"Illegal mix of collations for operation" Error Happens on Replica When Using CONCAT Function In Stored Programs with STATEMENT Base Replication Format (Doc ID 2283309.1)

Last updated on MAY 23, 2021

Applies to:

MySQL Server - Version 5.5 and later
Information in this document applies to any platform.


Disclaimer: Starting from v8.0, some terms have been deprecated. Older releases will only use the deprecated terminology, and new releases will only use new terminology. Please see for a complete list of those changes, and in which minor versions it happened.

On replica replicated from statement base format source, replication stops when it executes stored program which includes CONCAT() function with the following error:




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
 1. Use row base replication format
 2. Use UTF8
 3. CAST numeric argument to string
 4. Upgrade to the fixed versions

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