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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
