Skip to Navigation

要命的utf8问题

No replies
Jinglei. Qiu.
User offline. Last seen 1 year 5 weeks ago. Offline
Joined: 04/18/2011

本人在安装中出现了这样的问题

[java] 2011-04-18 22:21:39,165 (main) [ DatabaseUtil.java:2747:ERROR] Could not create declared indices for entity [ViewHistory]: SQL Exception while executing the following:
[java] CREATE INDEX contextIndex ON VIEW_HISTORY (USER_LOGIN_ID, APPLICATION_NAME, WEB_APP_NAME)
[java] Error was: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 1000 bytes

配置文件

安装环境: windows7 x64 mysql5.1 utf8 编码
mysql5.1 用的配置文件是my-innodb-heavy-4G.ini

这个key长超出1000的问题怎么解决啊?

Opentaps service provider erp crm   Site designed by IntegratingWeb with Drupal
© 2011 Open Source Strategies Inc.  Terms of Use