天天看點

MySQL constraint unique Key 最大長度是 1000 bytes

mysql> alter table search_key_word add constraint idx_key_word unique (key_word);

ERROR 1071 (42000): Specified key was too long; max key length is 1000 bytes

繼續閱讀