Confluence 4.0 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
Custom Installation - Connecting to an External Database
This page is part of the Confluence Setup Guide.
作業を開始する前に
- 文字のエンコード:
- 文字のエンコードは、データベース、アプリケーションサーバー、ウェブアプリケーション間で統一し、かつ UTF-8 を使用することを強く推奨します。
- Before setting up your database, please read about configuring character encoding.
- データベース名: 新しい外部データベースを作成するときは、名前を 'confluence' としてください。
You can choose to configure your database via a standard JDBC connection or via a server-managed datasource connection. Choose one of the two options below.
Option 1: Standard Database Connection — This uses a standard JDBC database connection. Connection pooling is handled within Confluence.
上記スクリーンショット: 標準 (JDBC) 接続設定画面
以下の情報を入力します:
- Driver Class Name — The Java class name for the appropriate database driver. This will depend on the JDBC driver, and will be found in the documentation for your database. You will also need to put the appropriate database driver 'jar' file in the server's classpath. For the Confluence distribution, this means copying the jar file into the
<confluence-install>/lib
directory. - Database URL — The JDBC URL for the database you will be connecting to. This will depend on the JDBC driver, and will be found in the documentation for your database.
- User Name — A valid username which Confluence will use to access your database.
- Password — The password corresponding to the above username.
以下の情報も必要になります:
- Confluence が管理する接続プールのサイズ。不明な場合は標準値を使用してください。
- 接続先データベースの種類。これによって Confluence が使用する言語を指定します。
Option 2: Datasource Connection — This asks the Java application server for a database connection. You will need to have configured a datasource into your application server.
上記スクリーンショット: データソース接続設定画面
以下の情報を入力します:
- Datasource Name — The JNDI name of the datasource, as configured in the application server.
Note: Some servers will have JNDI names likejdbc/datasourcename
; others will be of the formjava:comp/env/jdbc/datasourcename
. Consult your application-server documentation.
以下の情報も必要になります:
- 接続先データベースの種類。これによって Confluence が使用する言語を指定します。
次のステップ
関連トピック
Database Configuration
Confluence Setup Guide
Confluence User's Guide
Confluence Documentation Home
概要
コンテンツ ツール
アプリ