How can I query Confluence trial database?


I'm a developer in a company which has Confluence licence (we host on our own server, up to 10 users, one-time payment of 10$). We are planning to get content from Confluence not via api, but via Confluence database. In production (as Confluence database is on our server) query Confluence database seems possible, but how can I query database of Confluence trial version? (I use Confluence trial version for development/testing)

If it is not possible to query Confluence trial database, is there a better solution (another Confluence licence or something like this)? 


1 answer

0 votes

Direct access to the database is a bad idea.  Even read only, it's not great (never, ever, ever write)

You will not get access to the Cloud database behind any instances on Cloud.

If you're running locally though, you can read the database, but it depends on which one you're using.

Is it not possible even if I would have developer's licence? Maybe you know another solution (besides not to read directly from database:) ? My problem is that I have no idea how to implement those queries in both development and production environments.

I'm using MSSQL in production.

You should be using MySQL with your development instance as well, Confluence commercial license (which 10user license is) is not binded with any database.  

That said - you can use any supported database with your 10 user licensed Confluence

If you are talking about the development license (which you can run via Atlassian SDK then the database it uses is HSQL, and querying this DB is kind of problematic, especially on a running Confluence instance)

And you have tagged the question with confluence-cloud... but the question is about server hosted version... !?

No, as I said, you don't get access to Cloud databases.

A local database is not a problem (although I'm sticking with "never write").  The obvious question though is "why?".  What are you trying to achieve?  Why not get the content in Confluence?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,272 views 2 13
Read article

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