Unable to Configure MySQL for CROWDID
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Connection of MySQL for CROWDID fails.
The following appears in the logs:
1
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
Cause
Since version 5.5, MySQL changed the syntax of TYPE=INNODB
to ENGINE=INNODB
.
Resolution
Incrowd-openidserver-webapp\WEB-INF\classes\jdbc.properties
the setting you are currently having is:
1
hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
You need to change that to:
1
hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
Was this helpful?