It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

martonk Mar 23, 2015

Confluence Health Checks alert says Problem Detected:

-----------------8<----------------------

What does this check do?

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

Result

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

-----------------8<----------------------

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

2 answers

2 votes
Deividi Luvison Mar 23, 2015

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.
0 votes
martonk Mar 24, 2015

Dear @Deividi Luvison !

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

 

Deividi Luvison Mar 25, 2015

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

1,125 views 7 18
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you