MySQL Forums
Forum List  »  InnoDB

Mysql Auto generate duplicate id after restart the server(deleted primary key)
Posted by: shivaa raaj
Date: November 09, 2013 01:33AM

Hi,
Mysql - INNODB engine.

My problem is after delete primary key record(Auto Increment) the mysql behaviour is it will not generate same id again. Because, the auto increment from mysql server session. But, after restart mysql server it is generating duplicate id for particular table. The reason is mysql session is destroyed once restart the server.

Soln :Mysql server itself keep some where the max increment id in my sql server.
Or the duplicate primary key should not generate(after restart the mysql server). Is it possible...?


Thanks. looking forward your reply

Options: ReplyQuote


Subject
Views
Written By
Posted
Mysql Auto generate duplicate id after restart the server(deleted primary key)
2008
November 09, 2013 01:33AM


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.