原文: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