关于force index的问题


今天用force index(主键) 提示Key '主键' doesn't exist in table ,请问是怎么回事

mysql 索引

efrik 9 years, 4 months ago

后来改成force index(PRIMARY)就可以了

summer answered 9 years, 4 months ago

请先确认主键索引是否存在。


 show create table TABLE_NAME;

琴吹 ななせ answered 9 years, 4 months ago

Your Answer