Forums

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

Jira and MySQL 8

Vitaliy Ivanets March 20, 2019

Jira 7.3 stopped working after updating MySQL to v. 8.
We have a backup of jira-homedir and MySQL DB of the previous version (that worked well).
How can we restore Jira without losing data?

1 answer

1 accepted

1 vote
Answer accepted
Petr Vaníček
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2019

Hi,

if you have backup of HOME dir before MySQL upgrade than it could not be hard to recover it.

You can follow up article for migration to another server (it's like your situation).

https://confluence.atlassian.com/adminjiraserver/migrating-jira-applications-to-another-server-938846962.html

Or as first you can try install MySQL 5.7 and recover data into new DB from backup. Than you just need edit config in HOMEDIR/dbconfig.xml. If this not help then follow linked article.

Hope it helps and you will recover it in short time.

In future - be careful with upgrades on Jira server. Everytime check Supported platforms in Jira documentation - like this https://confluence.atlassian.com/adminjiraserver073/supported-platforms-861253018.html

Deleted user July 20, 2019

Why don't use just support Mysql 8? It works, all you have to do i to quote identifiers.

Deep Patel
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!
October 6, 2019

I'm having issues with mysql 8. When I add 

 

innodb_large_prefix=ON
innodb_file_format=Barracuda

 

mysql server is not starting up.

stockerc January 3, 2020

Per: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-0.html

Important Change; InnoDB: The following InnoDB file format configuration options were deprecated in MySQL 5.7.7 and are now removed:

  • innodb_file_format

  • innodb_file_format_check

  • innodb_file_format_max

  • innodb_large_prefix

Suggest an answer

Log in or Sign up to answer