MySQL: Value does not increment

Hi All

I have the value 9223372036854775807 in a bigint datatype field and am trying to increment the value but it does not increment greater than the above value.

So can someone please suggest me the solution or tell me which datatype should i use that will support me a value greater than 9223372036854775807?

/*DDL Information*/

CREATE TABLE `log_counter` (
  `log_counter` BIGINT(20) DEFAULT '0'


that’s because this is the maximum number for a signed bigint

change the table so that this column is defined with UNSIGNED and you can then go twice as high, to 18446744073709551615

What does unsigned mean?


it means negative numbers are not permitted

please see’s_complement