摘要: 今天在做php登陆和登出会插入数据到log表中,,结果报错了:如下:Failed to execute query: Duplicate entry '0' for key 'PRIMARY'SQL: INSERT INTO log set LOGID = 'IN', LOG01 ='test', LOG02 ='127.0.0.1', DT999 = now()这说明每次往表中插入记录的PRIMARY值均为0问题描述:修改前表的结构;SQL 查询结果主机: localhost数据库: minierp生成日期: 2 阅读全文
posted @ 2014-03-25 23:00 叉叉敌 阅读(782) 评论(0) 推荐(0) 编辑
摘要: Failed to execute query: Duplicate entry '0' for key 'PRIMARY' 今天在做php登陆和登出会插入数据到log表中,,结果报错了:如下: Failed to e... 阅读全文
posted @ 2014-03-25 23:00 叉叉敌 阅读(40) 评论(0) 推荐(0) 编辑