原文:mysql5.7 数据导入5.6 Index column size too large. The maximum column size is 767 bytes.

先检查一下是不是数据库被限制了索引的大小SHOW variables like innodb large prefix 如果查询的值是OFF的话 执行下面命令 SET GLOBAL INNODB LARGE PREFIX ON 执行完了 之后 还得查看当前的innodb file format引擎格式类型是不是BARRACUDA 执行 SHOW variables like innodb file ...

2018-04-26 13:50 0 5472 推荐指数:

查看详情

The maximum column size is 767 bytes (Mysql)

ERROR app.wsutils 419 INCRON: Error: ('HY000', '[HY000] [MySQL][ODBC 5.2(w) Driver][mysqld-5.7.7-rc-log]Index column size too large. The maximum ...

Mon May 22 17:15:00 CST 2017 0 1938
Mysql [Err] 1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535.

对于越来越多的数据数据库的容量越来越大,压缩也就越来越常见了。在我的实际工作中进行过多次压缩工作,也遇到多次问题,在此和大家分享一下。 首先,我们先说说怎么使用innodb的压缩. 其实很简单,根据经验,一般压缩比例可以达到30%-40% 然后,我们说说我在压缩过程中 ...

Tue Aug 22 19:09:00 CST 2017 0 4545
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM