mysql error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mysql error (
/showthread.php?tid=618592)
mysql error -
StR_MaRy - 07.10.2016
why i have this error in mysql_log
Код HTML:
[00:51:39 10/08/16] [ERROR] CMySQLQuery::Execute[] - (error #1062) Duplicate entry '0' for key 'PRIMARY' (Query: "INSERT INTO `adminlog` (`Text`,`Date`) VALUES ('StR_Marian a setat 1,000,000$ pentru StR_Marian','08/10/2016 - 00:51:39')")
pic with my structure
http://imgur.com/a/3eInz
Re: mysql error -
AndySedeyn - 07.10.2016
Set the primary key to AUTO_INCREMENT.
Re: mysql error -
StR_MaRy - 07.10.2016
done it , thx