Migrating JIRA to another database throws database permission denied error

プラットフォームについて: 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 は除く

症状

atlassian-jira.log に次のエラーが返される。

JIRA Startup Failed com.opensymphony.module.propertyset.PropertyImplementationException: SQL Exception while executing the following:SELECT ID, ENTITY_NAME, ENTITY_ID, PROPERTY_KEY, propertytype FROM jiraschema.propertyentry WHERE ENTITY_NAME=? AND ENTITY_ID=? (SELECT command denied to user 'jirauser'@'localhost' for table 'propertyentry')

原因

Insufficient permission granted to the user of the new database.

ソリューション

Grant all permissions to the user in the new database.

CREATE DATABASE jiradb CHARACTER SET utf8 COLLATE utf8_bin; GRANT ALL PRIVILEGES ON jiradb.* TO 'jirauser'@'localhost' IDENTIFIED BY 'MyPassword';

ℹ️ This query works for PostgreSQL. If you are using a different database, please refer to the official documentation of the respective database and modify the query accordingly.

更新日時: September 25, 2025

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

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