dv7转换到dz5后,错误报告纪录以下错误。请问怎么解决。谢谢?
错误类型一:
插入会员基本数据出错 uid = 7 username = 阿修罗
Error 1062 : Duplicate entry '' for key 2.
错误 1062:字段值重复,入库失败。
错误类型二:
无法转换主题 tid = 108610 subject = '有哪些主机是你\"\"\"\'\'\'\'\'\' 一见钟情\'\'\'\'\"\"\"\',SQL 语句如下 :
INSERT INTO `lu_threads` (
`tid` , `fid` , `iconid` , `typeid`, `readperm`, `price`,`author` , `authorid` , `subject` , `dateline` , `lastpost` , `lastposter` , `views` , `replies` , `displayorder` , `highlight` , `digest` , `rate` , `blog` , `special` , `attachment` , `subscribed`, `moderated` , `closed`
) VALUES(
'108610', '5', '0', '0', '0', '0', 'riods', '41197', '有哪些主机是你\"\"\"\'\'\'\'\'\' 一见钟情\'\'\'\'\"\"\"\', '1129528020', '1130686440', 'star2', '1233', '141', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0');
Error 1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1129528020', '1130686440', 'star2', '1233', '141', '0', '0', '0', '0', '0', '1',' at line 4.
错误 1064:可能原因:1.数据超长或类型不匹配;2.数据库记录重复。
[ 本帖最后由 swons 于 2007-1-8 18:49 编辑 ] |