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

Accepted Answer
0 votes

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 Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

62 views 0 2
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