MySQL error: key specification without a key length

前端 未结 16 1123
别跟我提以往
别跟我提以往 2020-11-22 08:41

I have a table with a primary key that is a varchar(255). Some cases have arisen where 255 characters isn\'t enough. I tried changing the field to a text, but I get the foll

16条回答
  •  难免孤独
    2020-11-22 09:01

    Also, if you want to use index in this field, you should use the MyISAM storage engine and the FULLTEXT index type.

提交回复
热议问题