The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

技術事業群-研發七處-Mobile二部-數字應用組Steve_Liao
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 8, 2020
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

Comments for this post are closed

Community moderators have prevented the ability to post new 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 Champion
April 8, 2020

Hi!

Sorry, what exactly do you need?

TAGS
AUG Leaders

Atlassian Community Events