搂主,我加了这一段
INSERT INTO `cdb_images_sort` VALUES (1, '1', '背景', '背景');
INSERT INTO `cdb_images_sort` VALUES (2, '1', '车', '后背');
INSERT INTO `cdb_images_sort` VALUES (3, '0', '电器&其他', '右身后');
INSERT INTO `cdb_images_sort` VALUES (4, '0', '家具', '左身后');
INSERT INTO `cdb_images_sort` VALUES (5, '1', '翅膀', '后背');
INSERT INTO `cdb_images_sort` VALUES (6, '1', '套装', '套装');
INSERT INTO `cdb_images_sort` VALUES (7, '0', '后头发', '后头发');
INSERT INTO `cdb_images_sort` VALUES (8, '1', '裤裙', '裤裙');
INSERT INTO `cdb_images_sort` VALUES (9, '1', '上衣', '上衣');
INSERT INTO `cdb_images_sort` VALUES (10, '1', '项饰品', '项饰品');
INSERT INTO `cdb_images_sort` VALUES (11, '0', '脸型', '脸型');
INSERT INTO `cdb_images_sort` VALUES (12, '0', '脸纹', '脸纹');
INSERT INTO `cdb_images_sort` VALUES (13, '0', '口鼻', '口鼻');
INSERT INTO `cdb_images_sort` VALUES (14, '1', '表情', '表情');
INSERT INTO `cdb_images_sort` VALUES (15, '1', '耳饰', '耳饰');
INSERT INTO `cdb_images_sort` VALUES (16, '0', '胡子', '胡子');
INSERT INTO `cdb_images_sort` VALUES (17, '1', '口罩', '口罩');
INSERT INTO `cdb_images_sort` VALUES (18, '1', '发型', '发型');
INSERT INTO `cdb_images_sort` VALUES (19, '0', '耳罩', '耳罩');
INSERT INTO `cdb_images_sort` VALUES (20, '1', '头饰', '头饰');
INSERT INTO `cdb_images_sort` VALUES (21, '1', '眼镜', '眼镜');
INSERT INTO `cdb_images_sort` VALUES (22, '1', '主题服装', '主题服装');
INSERT INTO `cdb_images_sort` VALUES (23, '1', '宠物', '宠物');
INSERT INTO `cdb_images_sort` VALUES (24, '1', '相框', '相框');
INSERT INTO `cdb_images_sort` VALUES (25, '1', '卡通人物', '卡通人物');
数据库error出现
Discuz! info: MySQL Query Error
User: 等待奇迹的出现
Time: 2005-7-23 4:47pm
Script: /admincp.php
SQL: INSERT INTO `cdb_images_sort` VALUES (1, '1', '背景', '背景')
Error: Duplicate entry '1' for key 1
Errno.: 1062
Similar error report has beed dispatched to administrator before.
怎么会这样? |