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

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.


1 votes

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

3,006 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