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

This widget could not be displayed.

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.

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

179 views 1 3
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