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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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