Unable to Configure MySQL for CROWDID

お困りですか?

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

コミュニティに質問

症状

Connection of MySQL for CROWDID fails.

The following appears in the logs:

2014-02-09 17:36:56,959 localhost-startStop-1 ERROR [hibernate.tool.hbm2ddl.SchemaUpdate] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'type=InnoDB' at line 3

原因

Since version 5.5, MySQL changed the syntax of TYPE=INNODB to ENGINE=INNODB.

ソリューション

In crowd-openidserver-webapp\WEB-INF\classes\jdbc.properties the setting you are currently having is:

hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect

You need to  change that to:

hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
Last modified on Mar 30, 2016

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

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