Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Accessing H2 database - no tables found

Hi,

Our team is starting to work on JIRA and we are still on the H2 database.

I need to do something on the database (temporarily unlock a locked field - it's another story and also deserves a discussion but not here :)), I went through the steps here:

https://confluence.atlassian.com/jirakb/how-to-unlock-a-locked-jira-software-field-779158866.html

connecting to the H2 Database according to this:

https://confluence.atlassian.com/jirakb/accessing-jira-s-h2-embedded-database-776818136.html

And indeed I was able to login to the database using the XML fie and the sa user but it does not find the tables... when I try to query wich tables I have

(SELECT * FROM INFORMATION_SCHEMA.TABLES)

I don't see any JIRA table.

any idea? I have no clue how to even debug what I am dong....

 

1 answer

1 accepted

0 votes
Answer accepted
DPK J Community Leader Sep 22, 2019

Please recheck that you are connected to database.

and try query this like this,

SELECT id FROM PUBLIC.JIRAISSUE LIMIT 10;

So... it was my bad, I had a mistake in the URL I used.... but for some reason the H2 did seem to connect normally and I could run SQL queries which is what caused me to think I was connected correctly....

Thanks for helping!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,490 views 22 32
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you