HSQLDB appears blank and unable to troubleshoot failed import according to provided tips.

Peter Sedivec November 27, 2017

I believe I've read every thread here on HSQLDB, connecting, viewing etc and still am at a loss for how to view the DB.  

We're hosting Confluence v6.4.1 w/Embedded DB. We're running a windows instance. I've shutdown Confluence, made a copy of the DB file and have tried opening it with the HSQLDB manager and DB Visualizer. In both instances it appears that i'm looking at a blank database. 

The database is located in Atlassian\Application Data\Confluence\database and is called h2db.h2.db. I've logged in with the credentials (username:  sa,  password:   ). Attached is a picture of what i seehsqldb-manager.png

I see the same thing from either HSQLDB manager or DB Visualizer. There are 4 schemas but nothing contained in any of the schemas really. The database file changes size and modified date is updated each time i work in confluence and make edits. 

The reason i am attempting to view the database is because we have a trial instance running and we keep importing and testing functionality of spaces. I've run into errors mostly re-importing the same space after i've deleted the space. Not sure why we're getting errors but there are several recommendations on how to troubleshoot failed import but they all involve the ability to go in and view/edit the database. 

How do I view and/or edit the HSQLDB with my confluence trial?

1 answer

1 vote
Boris Berenberg - Atlas Authority
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2017
Peter Sedivec November 28, 2017

Hi Boris - 

Thank you, that worked. I thought i had looked at that page but hadnn't tried the h2 jar.  I realize i was looking at the following article, which was for an older version of confluence. 

https://confluence.atlassian.com/conf56/connecting-to-hsqldb-using-dbvisualizer-or-hsql-database-manager-658737190.html

I internally made the assumption that H2 ~ HSQL and didn't realize the difference. I think i can sort out my issues now that i can access the database directly.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events