Specified key was too long; max key length is 1000 bytes
Issue
For a config of JCR with MySQL , We get this error :
ERROR [exo.jcr.component.core.JDBCWorkspaceDataContainer] (main) Error of init db org.exoplatform.services.jcr.impl.util.jdbc.DBInitializerException: Could not create db schema of DataSource: 'pc-system'. Reason: Specified key was too long; max key length is 1000 bytes; . Last command: CREATE INDEX JCR_IDX_SVALUE_STORAGE_DESC ON JCR_SVALUE(PROPERTY_ID, STORAGE_DESC)
org.exoplatform.services.jcr.impl.util.jdbc.DBInitializerException: Could not create db schema of DataSource: 'pc-system'. Reason: Specified key was too long; max key length is 1000 bytes; . Last command: CREATE INDEX JCR_IDX_SVALUE_STORAGE_DESC ON JCR_SVALUE(PROPERTY_ID, STORAGE_DESC)
Environment
- JBoss Enterprise Portal Platform (EPP) 5.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.