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

Hello,

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!

François

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 http://www.cyberciti.biz/faq/how-do-i-empty-mysql-database/ )

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

François.

1 vote

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?

Nic,

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.

François.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

212 views 1 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