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

0 votes
Accepted answer

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,417 views 15 19
Read article

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