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.

Cheers

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,856 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot