MySQL to MS SQL XML Overwrites dbconfig.xml

I am currently going from an evaluation copy of Jira 6.1 on a linux server to an evaluation copy of Jira 6.1 on a windows based server.

I have exported the XML from the linux server which is using MySQL and importing that following the guide into the new install which is using a named instance of MS SQL.

However, every time I import the database connection changes to HSQL even though I built the correct dbconfig.xml before importing.

Why is the database not using MS SQL as it should be and using HSQL instead? After checking the dbconfig.xml after import the original settings setup for MS SQL have been overwritten.

2 answers

1 accepted

Finally got this resolved after a bit of playing.

It appears that there is no direct MySQL -> MSSQL migration. How I got round that was by exporting all the data (using the Admin tools) from MySQL. Importing for a first time which turned that into HSQL, reexporting the data again (so now a HSQL export), then reimporting for a second time which successfully moved to MS SQL.

Not sure if this is an oversight on the software side of things, or whether this is intended / a limitation workaround.

Hey there,

I'd suggest that you use JIRA configuration tool to point JIRA to your MSSQL database, restart JIRA and at the link that says "import your data", restore your XML backup.

I hope this helps.


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 Tuesday 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...

182 views 1 17
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