Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

The table collation: 'utf8_bin' is unsupported by Jira. The Database collation: 'utf8mb4_bin' is sup

Health check problems detected:

Database: The table collation: 'utf8_bin' is unsupported by Jira. The Database collation: 'utf8mb4_bin' is supported by Jira.

 

I solved the issue that follow the confluence, you can try it.

https://confluence.atlassian.com/kb/how-to-fix-the-collation-and-character-set-of-a-mysql-database-744326173.html

 

 

SELECT CONCAT('ALTER TABLE `', table_name, '` MODIFY `', column_name, '` ', DATA_TYPE, '(', CHARACTER_MAXIMUM_LENGTH, ') CHARACTER SET utf8mb4 COLLATE utf8mb4_bin', (CASE WHEN IS_NULLABLE = 'NO' THEN ' NOT NULL' ELSE '' END), ';')

FROM information_schema.COLUMNS

WHERE TABLE_SCHEMA = ‘jira’

AND DATA_TYPE = 'varchar'

AND

(

    CHARACTER_SET_NAME != 'utf8mb4'

    OR

    COLLATION_NAME != 'utf8mb4_bin'

);

2 answers

0 votes
Diego Figueroa December 18, 2020

Thank you for posting this. I would just like to point out that you have to quote 'jira' in the WHERE clause otherwise you get an error.

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 8, 2020

Hi!

Sorry, what exactly do you need?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events