'com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException' when Installing Confluence on MySQL on OS X 10.4 Due to MySQL Networking Configuration
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
症状
Confluence does not start when connecting to MySQL. The following appears in the atlassian-confluence.log
:
com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Server connection failure during transaction. Due to underlying exception: 'java.net.ConnectException: Connection refused'.
原因
MySQL is running with the --skip-networking option.
ソリューション
On OS X 10.4 Server, the MySQL Manager program turns off networking by default. This needs to be turned on in /etc/mysqlManager.plist
or in the MySQL Manager (if that option is available).