mysql无法从存储引擎读取自动递增值 [英] mysql Failed to read auto-increment value from storage engine
本文介绍了mysql无法从存储引擎读取自动递增值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个id字段作为自动增量的mysql表。
当我插入值到表得到错误为
1467 - 无法从存储引擎读取自动递增值
此外, show table status
显示自动递增字段
18446744073709551615
作为Auto_increment值。
什么问题可以帮助我...?问题可能绝对是:将 18446744073709551615 转换为十六进制,你会发现
$ b。 $ b $ FFFF-FFFF-FFFF-FFFF 。
如果您的字段是未签名的64位,则会达到其限制。
i am having mysql table with one id field as auto-increment .
When i insert values to the table am getting error as
1467 - Failed to read auto-increment value from storage engine
Also the show table status
shows me that the field with auto increment has
18446744073709551615
as Auto_increment value.
What would be the issue can any one help me ....?
解决方案
Problem could absolutely be that: convert 18446744073709551615 to hex and you'll find
$FFFF-FFFF-FFFF-FFFF.
If your field is an unsigned 64bit you reach its limit.
这篇关于mysql无法从存储引擎读取自动递增值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文