Connecting Confluence applications to Azure SQL

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

These instructions will help you connect Confluence Server or Confluence Data Center to an Azure SQL database.


1. Azure SQL データベースを作成する

Azure SQL データベースを作成します。「クイックスタート: Azure で単一のデータベースを作成する」を参照してください。

要件

  • Collation: When creating the database, make sure to set the right collation in Additional settings, as you won't be able to change it later. Collation types supported by Confluence is SQL_Latin1_General_CP1_CS_AS  (case sensitive).  

2. Allow Confluence to connect to the database

You need to add the IP address of your Confluence server to the database's firewall rules to allow Confluence to connect to your Azure SQL database. See Azure SQL database firewall rules.

3. Configure Confluence to connect to the database


tip/resting Created with Sketch.

接続文字列を見つける

When connecting Confluence to the database, you’ll need to provide connection details, such as hostname, port number, and database name. You can find them in the Azure portal by opening your deployed database and going to Connection strings.


データベース接続フィールド

The sections below describe the fields you'll need to fill out when connecting Confluence to your database. 


セットアップ ウィザード/設定ツールの場合 ...
フィールド説明 / 例
ホスト名

Azure SQL サーバーの名前または IP アドレス。 

例: sqlserver.database.windows.net

ポート

Azure SQL サーバーがリッスンしている TCP/IP ポート。このフィールドが空の場合、デフォルト ポートが使用されます。

既定: 1433

データベース

The name of your Azure SQL database (into which Confluence will save its data).

例: Confluencedb

ユーザ名

The user that Confluence uses to connect to the SQL Server server.

例: Confluencedbuser@sqlserver

パスワードAzure SQL サーバーとの認証に利用するユーザーのパスワード。
スキーマ

Azure SQL データベースが使用するスキーマ名。 

既定: dbo

In confluence.cfg.xml...
フィールド説明 / 例
ホスト名

Azure SQL サーバーの名前または IP アドレス。 

-

<url>jdbc:sqlserver://;serverName=sqlserver. database.windows.net;

portNumber=1433;databaseName=Confluencedb</url>

ポート

Azure SQL サーバーがリッスンしている TCP/IP ポート。このフィールドが空の場合、デフォルト ポートが使用されます。

-

<url>jdbc:sqlserver://;serverName=sqlserver.database.windows.net;

portNumber=1433;databaseName=Confluencedb</url>


データベース

The name of your Azure SQL database (into which Confluence will save its data).

-

<url>jdbc:sqlserver://;serverName=sqlserver.database.windows.net;

portNumber=1433;databaseName=Confluencedb</url>

ユーザ名

The user that Confluence uses to connect to the SQL Server server.

-

<username>Confluencedbuser</username>

パスワード

Azure SQL サーバーとの認証に利用するユーザーのパスワード。

-

<password>yourpassword</password>

スキーマ

Azure SQL データベースが使用するスキーマ名。

-

<schema-name> dbo </schema-name>

Last modified on Mar 21, 2024

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.