Skip to content

fix(mysql): Change default charset to utf8mb4#7615

Open
sunakan wants to merge 1 commit intogetredash:masterfrom
sunakan:set-utf8mb4-mysql-charset
Open

fix(mysql): Change default charset to utf8mb4#7615
sunakan wants to merge 1 commit intogetredash:masterfrom
sunakan:set-utf8mb4-mysql-charset

Conversation

@sunakan
Copy link

@sunakan sunakan commented Jan 30, 2026

What type of PR is this?

  • Other

Description

Both utf8 and utf8mb3 are deprecated in MySQL 8.0 and will be removed in a future major release. This updates the default charset to utf8mb4, which is the recommended charset for all new applications.

How is this tested?

  • Manually

Ran SHOW VARIABLES LIKE 'char%' before and after the change (see screenshots below).

Before

before

After

after

MySQL 8.0 changed the server default charset from latin1 to utf8mb4.
This aligns Redash's MySQL connector with the modern MySQL defaults.
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant