My Oracle Support Banner

Illegal Mix of Collations (Doc ID 2933585.1)

Last updated on MARCH 07, 2023

Applies to:

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

Goal

Qn1:Is it okay to mix collations in MySQL Server?
 
Qn2:Is it not permitted to have different server collation with the databases in MYSQL?
For example, user database is using utf8mb4_0900_ai_ci but server is setup to use utf8mb4_unicode_ci.
 
Qn3:If I have a database that is already setup with collation_server=utf8mb4_unicode_ci can I change it without needing to restart the mysql instance?
 

Solution

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
Goal
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.