2021-04-19
閱讀量:
1777
?mysql報錯Duplicate index 'ename' defined on the table 'test.emp'.
問:
mysql報錯:
Duplicate index 'ename' defined on the table 'test.emp'. This is deprecated and will be disallowed in a future release.
答:
一般出現(xiàn)此提示是因為該表存在重復(fù)的索引,根據(jù)提示內(nèi)容可知存在重復(fù)的索引“ename”,
也可以通過語句:show index from 表名; 來查看創(chuàng)建的索引情況,此提示不是報錯信息,
不影響語句的執(zhí)行,只是提醒在后面的版本中將不允許這種情況。






評論(0)


暫無數(shù)據(jù)
推薦帖子
0條評論
0條評論
0條評論
0條評論