Skip to content

fix(docker): MySQL seeds are read as utf8mb4 (#1823) - #1835

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
fix/docker-mysql-utf8
Oct 25, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
fix/docker-mysql-utf8

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

The image entrypoint pipes the init files through the mysql client, which reads them as latin1 unless told otherwise, so col_text held the double-encoded form of the emoji sample. Both init files now start with SET NAMES utf8mb4;. The files themselves are correct UTF-8.

The MongoDB, ClickHouse and PostgreSQL seeds were checked by reading: their emoji text is plain UTF-8 and those loaders take it as is.

Not verified: it needs docker compose down -v and a fresh start of the MySQL container, which I did not run. Existing volumes keep the old text until re-seeded.

Refs #1823

@github-actions github-actions Bot added bug Something isn't working mysql MySQL database driver and workspace P3 Low priority / Polish & Enhancements labels Oct 25, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit d828557 into dev Oct 25, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working mysql MySQL database driver and workspace P3 Low priority / Polish & Enhancements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant