1170 - BLOB/TEXT column 'CustomerName' used in key specification without a key length

[DTF] Data Transfer 企管宝_2_CRM start
[DTF] Getting tables
[DTF] Analyzing table: `CustomerInfo`
[DTF] Get table data for [CustomerInfo]
[DTF] Drop table: `CustomerInfo`
[DTF] Create table: `CustomerInfo`
[ERR] 1170 - BLOB/TEXT column 'CustomerName' used in key specification without a key length
[DTF] Finished unsuccessfully

 

pandas对象保存到mysql出错提示“BLOB/TEXT column used in key specification without a key length”解决办法 - zhangjpn - 博客园
http://www.cnblogs.com/zhangjpn/p/6133793.html

 

解决办法:删除索引,和字段最大长度超过256,没有关系的。

 

mysql #1170错误(42000) BLOB/TEXT Column Used in Key Specification Without a Key Length - u012069924的专栏 - CSDN博客
https://blog.csdn.net/u012069924/article/details/28858337

MySQL Error 1170 (42000): BLOB/TEXT Column Used in Key Specification Without a Key Length - sunss - 博客园
http://www.cnblogs.com/sunss/archive/2012/05/17/2506396.html

sql - MySQL error: key specification without a key length - Stack Overflow
https://stackoverflow.com/questions/1827063/mysql-error-key-specification-without-a-key-length

 

posted @   任国强  阅读(5242)  评论(0编辑  收藏  举报
编辑推荐:
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
点击右上角即可分享
微信分享提示