摘要:
今天在做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 阅读全文
摘要:
Failed to execute query: Duplicate entry '0' for key 'PRIMARY' 今天在做php登陆和登出会插入数据到log表中,,结果报错了:如下: Failed to e... 阅读全文