[英语]data or datas
data is right, datas is wrong.
If you have some data in one file and then some more in another, that is not two data or two datas; it is just data.
data is right, datas is wrong.
If you have some data in one file and then some more in another, that is not two data or two datas; it is just data.
当 MySQL 数据库的索引 key 出现重复时,就会提示类似的错误:
DatabaseError: (1061, "Duplicate key name 'abc_xxx_uniq'")
解决办法是移除重复的索引 key:
ALTER TABLE `foo`.`bar` DROP INDEX `bar_xxx_uniq`;