MySQL创建表时候报:Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs 解决方案

原因:MySQL要求所有列字符长度加起来乘以2(gbk)或者是3(utf-8),如果这个结果大于错误提示中的65535,是无法创建成功的。

解决:观察数据结构,把长度特别大的字段长度根据情况自行修改。

猜你喜欢

转载自www.cnblogs.com/chuanqi1995/p/11298457.html
今日推荐