I followed the guides to properly set up a MySQL database for Jira. The database uses character set utf8_bin and so do all tables. Yet, when I go into my Jira dashboard I get an error saying a collation health check failed. When I look at the error it says that the database collation utf8_bin and table collation utf8_bin are not supported... but those are the collations that the guide mentions I should be using!
A few questions for you about this:
The instructions on how to do this could have recently changed with Jira 8 and the new support for utf8mb4 encoding. I'm curious if perhaps the doc you are following might be outdated for a latest Jira version in use now (8.0.1). But I'm also thinking that older versions of Jira might have bundled a healthcheck plugin with a false positive bug that could just be a warning you can ignore, but I haven't been able to find that bug report yet.
@Luke Gavel It depends on the version of MySQL you're using on the backend. If you're using a MySQL 5.7.x with a Jira 8.x.x version, then our own documentation (Connecting Jira 8 applications to MySQL 5.7) recommends to use the utf8mb4 character set and collation because we know it will help you avoid the problem of mysql's inability to store 4 byte characters such as emojis when using the standard utf8/utf8_bin settings.
But if you look at the MySQL 5.6 doc in https://confluence.atlassian.com/adminjiraserver/connecting-jira-applications-to-mysql-5-6-938846854.html
We still recommend the utf8 instead in the case of MySQL 5.6.x databases. That still leaves these version susceptible to being unable to store those characters though. I think this is because Jira versions before 8 have not been tested with that collation/encoding in the older versions of MySQL before 5.7.
Technically, no it is not mandatory. You can still use MySQL 5.6.x with Jira 8.1.x per our supported platforms page. However we know the character limitation in that version of MySQL has been a thorn in the sides of Jira administrators for a long time a la JRASERVER-36135. So I would still recommend going to a 5.7 version to avoid that problem entirely.
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
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