Skip to content

Make Matomo database use utf8mb4 collation by default #9785

@mattab

Description

@mattab

When we will require MySQL 5.5.3 in Piwik, it would be desired to make our database use utf8mb4 collation. This would solve some possibly weird issues and in general, is a best practise for properly managing unicode characters in MySQL.

Background information utf8mb4

Notes

  • we wouldn't need to convert the database
  • only use utf8mb4 if it's present (in case it could be disabled for some reasons)

Metadata

Metadata

Assignees

Labels

c: SecurityFor issues that make Matomo more secure. Please report issues through HackerOne and not in Github.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions