antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Truta190

Erro syser DB ajudem!!1

Question

 ChildLoop: AsyncSQL: query failed: Duplicate entry '1052' for key 'PRIMARY' (query: INSERT INTO safebox (account_id, size) VALUES(1052, 1) errno: 1062)
 

 

 

e como arrumar

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0
11 horas atrás, Truta190 disse:

 ChildLoop: AsyncSQL: query failed: Duplicate entry '1052' for key 'PRIMARY' (query: INSERT INTO safebox (account_id, size) VALUES(1052, 1) errno: 1062)
 

 

 

e como arrumar

Tens uma chave primaria duplicada, essa account_id é chave primaria ou estrangeira? 

Se queres que seja possivel ser armazenado mais que uma vez a mesma chave tens que retirar o "unique" dela

Share this post


Link to post
Share on other sites
antiblock
Rodnia | Alpha & Omega
  • 0

Entra no Navicat ou programa usado, Table Player > Safebox > Botão contrario > Truncate Table. reboot

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now