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

How to refer to Confluence's own database from SQL add on?

Mikhail T January 15, 2015

When defining a data-source profile for the just installed "SQL for Confluence" plugin, I'd like a short-cut to be able to refer to the Confluence's own database-connection. Ideally, I'd have shortcuts for each component too. For example, the below construct copies everything from Confluence's own DB-settings overwriting only the username:

dbDriver=@confluenceDbDriver@ | dbUrl=@confluenceDbUrl | dbUser=confluence-ro | ...

Is something like this possible, or should I file a feature request?

1 answer

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
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.
January 15, 2015

No, that is not currently possible, you would need to use the same database setup information as any other database you want to access. Normally, I would set up a application data source for Confluence main access and then use that or duplicate to a different named data source so you could isolate the 2 uses. Feel free to write up an improvement request.  

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events