Confluence 5.7 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
The purpose of this guide is to walk you through connecting to Confluence's embedded Hypersonic SQL Database using the Database Administration tool DBVisualizer or HSQLDB's database manager.
Below are step by step instructions on how to Configure DBVisualizer or HSQLDB Database Manager and connect it to HSQLDB.
On this page:
Please ensure that you read and follow the instructions below carefully.
Remember to backup your <confluence-home>/database folder before attempting any modifications
HSQLDB.jar file is located. Confluence bundles this and it can be found at <confluence-installation>/confluence/WEB-INF/lib/hsqldb-*.jar.<Confluence-Home> directoryconfluencedb.properties fileconfluencedbrefer to the example screenshot above if you are unsure
Alternatively, you can use HSQLDB's database manager. Just copy the value of hibernate.connection.url in confluence.cfg.xml as the URL and you're good to go.
Below are step by step instructions on how to Configure HSQL DB Manager and connect it to HSQLDB:
Remember to backup your <confluence-home>/database folder before attempting any modifications
hsqldb-x-x-x/hsqldb/bin, and run runManager.batCopy the URL value in your hibernate.connection.url parameter in ConfluenceHomeDirectory/confluence.cfg.xml. Example:
<property name="hibernate.connection.url">jdbc:hsqldb:C:\reproduce\atlassian-confluence-5.4.4\c544homeHSQL/database/confluencedb;hsqldb.tx=MVCC</property>
For the example above, you should copy: jdbc:hsqldb:C:\reproduce\atlassian-confluence-5.4.4\c544homeHSQL/database/confluencedb;hsqldb.tx=MVCC
You can now run queries in the query window. For example: