Unable to Connect to SQL Server Due to Error: 18456, Severity: 14, State: 12

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

症状

  • The following error appears in the SQL Server log:

    Login failed for user 'confuser'. Reason: Login-based server access validation failed with an infrastructure error. Check for previous errors. [Client: 127.0.0.1] Error: 18456, Severity: 14, State: 12
  • atlassian-confluence.log に次のエラーが返される。

    2013-02-25 15:09:44,445 ERROR [http-8090-2] [atlassian.config.bootstrap.DefaultAtlassianBootstrapManager] getTestDatabaseConnection Could not successfully test your database: -- referer: http://<confluence-url>/setup/setupstandarddb-start.action?database=mssql | url: /setup/setupstandarddb.action | userName: anonymous | action: setupstandarddb java.sql.SQLException: Login failed for user 'confuser'.

原因

Error: 18456, Severity: 14, State: 12 means that the authentication is successful, but server access fails due to permission.

ソリューション

  • Ensure that the SQL Server Authentication mode is enabled.

  • Assuming that the SQL Server username is confuser, run the following SQL query in a master database, to give the permission to connect via TCP/IP

    GRANT CONNECT SQL TO "confuser" GRANT CONNECT ON ENDPOINT::"TSQL Default TCP" TO "confuser";
更新日時: September 25, 2025

さらにヘルプが必要ですか?

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