2021-04-19
阅读量:
1690
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.
答:
一般出现此提示是因为该表存在重复的索引,根据提示内容可知存在重复的索引“ename”,
也可以通过语句:show index from 表名; 来查看创建的索引情况,此提示不是报错信息,
不影响语句的执行,只是提醒在后面的版本中将不允许这种情况。






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论