How to clean a MSSQL database to be able to install JIRA again?


I've completely upgraded my JIRA from 4.2 to 5.0.1 on a test server. For this upgrade, I've created a new database (MSSQL). Everything worked fine.

Before upgrading on the production system, I would like to check again the JIRA upgrade, so I uninstalled JIRA 5.0.1 and started performing a new installation.

After installing again JIRA 5.0.1, in the setup screen, I’m receiving this message: "The database specified is not empty Please specify an empty database for your JIRA installation".

Could you please give me the procedure to clean this database to be able to continue the JIRA setup on this database?

Thank you!


2 answers

1 accepted

This widget could not be displayed.

You need to drop the tables, that can be accomplished through something like the mysql workbench or even script based (see )

The 2nd link you mention is very helpfull. Thank you Andy.


This widget could not be displayed.

Drop all the tables in the database - that will clear them out and Jira will happily create them all afresh.

Nagging doubt though - you say you're upgrading? Did you start with an empty database and import from XML?


For info, I've created a new db for upgrading JIRA to 5.0.1. then I completed the procedure to copy data from old db to the new one: everything went fine.

Thank you for your help; I'll keep you informed on this subject.


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

203 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