Change database under JIRA - how to?

Hi All,

if we want to change the database under the JIRA e.g. from the default hs to MySQL what parameters, files need to be changed?

One is the dbconfig.xml which needs to be created and put to Home. What else? Do we need a restart?

What about JIRA4 and lower versions? These don't have dbconfig.xml.

Thanks in advance,


1 answer


For jira 5 and above you need to provide your database host, database schema, database user and password in the dbconfig.xml.

For versions 4 and below, the sme configurations are to be provided in server.xml.

Have a look at this URL

For jira 4.4 and lower

For jira 5.0 or higher


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you