Skip to content

Conversation

@MooSayed1
Copy link

The JOIN between mysql.user and mysql.role_edges fails when tables
have different collations after upgrade (old tables keep utf8mb4_general_ci,
new default is utf8mb4_uca1400_ai_ci).

Solution

Add explicit COLLATE utf8mb4_general_ci to the JOIN conditions to ensure
consistent collation comparison regardless of upgrade path.

@MooSayed1 MooSayed1 force-pushed the MDEV-37442-collation-fix branch from b4849b5 to 06986fa Compare January 16, 2026 16:06
@github-actions github-actions bot added the External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements. label Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements.

Development

Successfully merging this pull request may close these issues.

1 participant