Why Confluence needs utf8_bin collation instead of another utf8 collation like utf8_hungarian_ci?

Confluence Health Checks alert says Problem Detected:


What does this check do?

Checks if the collation used by the tables, columns and database defaults in your MySQL database is correct.


Some tables or columns in the database are not using utf8_bin for their collation, or the default collation for the database is incorrect.


Our collation set depending our locale (hu_HU), i don't see a problem here...

2 answers

Hey Károly,

I wasn't part of the architectural team however I do have a few ideas behind the decision of using utf8_bin collation, due to it's accuracy on sorting as UTF8 is based on the Unicode standard for sorting, and sorts accurately in a very wide range of languages. And performance since _ci adds a layer of complexity to joins, index builds, text searches and etc.

Additionally, hungarian is not the most popular setup used for mysql around the world, so they aimed for standard configuration to be used for testing during the development stage.

Additionally you will need to fix that (as per below page) before upgrading your Confluence to 5.6 series or else the upgrade will fail due invalid requirements:
Thanks and Regards,
David| The Engineer that like Windows for realsies.

Dear @Deividi Luvison !

Thank you for the answer, then I modify it to utf8_bin just for sure...


You are more than welcome :). Just mark this as answered so we can close this topic ;).

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

251 views 2 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you