Installation Fails Because Schema Name Does Not Exist

お困りですか?

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

コミュニティに質問

症状

When configuring JIRA with an external database, it fails with this error:

CREATE TABLE jiraschema.workflowschemeentity (ID NUMERIC NOT NULL, SCHEME NUMERIC, WORKFLOW NVARCHAR(255), issuetype NVARCHAR(255),
CONSTRAINT PK_workflowschemeentity PRIMARY KEY (ID))
Error was: java.sql.SQLException: The specified schema name "jiraschema" either does not exist or you do not have permission to use it.

原因

An invalid database schema name has been specified.

ソリューション

JIRA 4.3 or below

Check whether schema name specified in <jira-install>/atlassian-jira/WEB-INF/classes/entityengine.xmlis valid. If the schema name exists in the database, ensure that database user has permission to use the schema.

Jira 4.4 以降

Check the schema specified in <jira-home>/dbconfig.xml. If the schema name exists in the database, ensure that database user has permission to use the schema.

(info) Check for leading blanks spaces in your schema name as that is known to cause issue. You can quickly identify schemas with a leading white space since they will show at the top of the alphabetized list of schema names.

Last modified on Mar 30, 2016

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

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