How to Change All Columns' Collation to utf8_bin in MySQL
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
As a result of errors from the Confluence logs warning of incorrect character set and/or collation, or as a result of recommendations from Atlassian Support, administrators may want some guidance on how to switch to utf8 character set with utf8_bin collation for the Confluence database at the database, table, and column levels.
Solution
Resolution
Please refer to this step-by-step guide on how to change the character set and collation at all levels: How to Fix the Collation and Character Set of a MySQL Database
Was this helpful?