MySQL Forums
Forum List  »  Newbie

Re: Primary Key Auto_Increment problem
Posted by: Jim Sawyer
Date: March 18, 2021 01:09PM

I ended up getting the highest primary key value in the table, then entering the next primary key value through the command prompt, then deleting that record. That reset the primary key to its proper value and all is well. I'm just puzzled why the issue occurred in the first place. I think it was table corruption and it bothers me a bit that this might occur in a client's database. Thanks.

Options: ReplyQuote


Subject
Written By
Posted
Re: Primary Key Auto_Increment problem
March 18, 2021 01:09PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.