feri_soft Posted January 13, 2007 Share Posted January 13, 2007 I have 1 primary field auto increment.Now i have some values written and i didn't change anything. The last value is 127.Before one hour i could freely add new records. But now i get duplicate value 127 for key 1.Help Please!!! :) Quote Link to comment https://forums.phpfreaks.com/topic/34039-mysql-duplicate-entry/ Share on other sites More sharing options...
.josh Posted January 13, 2007 Share Posted January 13, 2007 Sounds to me like your datatype is tinyint. You need to use a numeric data type that accomodates larger numbers. [url=http://dev.mysql.com/doc/refman/5.0/en/numeric-types.html]mysql numeric types[/url] Quote Link to comment https://forums.phpfreaks.com/topic/34039-mysql-duplicate-entry/#findComment-160011 Share on other sites More sharing options...
feri_soft Posted January 14, 2007 Author Share Posted January 14, 2007 10000000000000000хThank you very much. Quote Link to comment https://forums.phpfreaks.com/topic/34039-mysql-duplicate-entry/#findComment-160377 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.