mysql出现 Specified key was too long; max key length is 1000 bytes
往MySQL导入数据时遇到
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 1000 bytes
解决方法:
修改mysql默认存储引擎
修改mysql配置文件
default-storage-engine=INNODB