Jira Database

After install JIRA Software and backup, I cant login so i try to run sql command in hsql database to check user groups follow the instruction here: https://confluence.atlassian.com/jirakb/running-sql-commands-in-a-hsql-database-685900390.html

But i cant find 'jiradb' folder 

For example: C:/Program Files/Atlassian/Application Data/JIRA/database/jiradb.

In database folder i only see 2 files 'h2db.mv' and 'h2db.trace'.

What do i need to do?


 

1 answer

1 accepted

0 vote

JIRA 7 has dropped hsql and moved to h2 as the database.  You'll need to use a tool for working with h2 databases now.

However, it also makes me want to ask "why"?  There's only a small handful of times that reading/writing a JIRA database is the right answer to a problem, and as you're not working on a production system, I very much doubt you have run into one of them.

I would agree in general, but stuff like automatically querying the team calender has no API support making it completely impossible to do without direct db-access. The database consistency tools work fine for a handful of elements, but ignores most other parts of the database. Once i was part of migrating 3 AD domains into 1. This forced 1.9million changes to be made on our database, something that would have been "impossible" without direct SQL access.

 

Merges and fixing things are included in the "small handful of times".  It's just here on answers, people keep reaching for database access when it's the worst possibly route for them to take.

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,203 views 13 19
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