Jump to content
  • 0
frotek

DB error - Duplicate entry '4700' for key 'PRIMARY'

Question

[SQL]: DB error - Duplicate entry '4700' for key 'PRIMARY'
[Debug]: at c:\users\frt54ree4\desktop\ro\hercules\src\map\log.c:396 - INSERT DELAYED INTO `chatlog` (`time`, `type`, `type_id`, `src_charid`, `src_accountid`, `src_map`, `src_map_x`, `src_map_y`, `dst_charname`, `message`) VALUES (NOW(), 'O', '0', '150011', '2000003', 'invek', '151', '158', ?, ?)

 

i recently update my folder then suddenly i got errors like this, does anyone encountered this type of problems too? It shows up every time i kill monsters.

 

 

Edited by frotek

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

It shouldn't really happen unless your SQL Server/Database got messed up.

since PRIMARY KEY is `id` and it's set to AUTO_INCREMENT, it should not generate duplicate value.

 

Anything that happened to your MySQL Server? Any Crashes or anything else?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.