在用mysql语句修改表时,提示错误,mysql创建[Err] 1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
原因:不要建太多字段,或者字段类型设置太长了,像这样设置了字段长度会导致最后超出表长度,新增不了新字段 ,或者建表本身就报错。
解决办法:255改成50就OK了