- Published on
插入数据时自增id出错了
```sql
INSERT INTO `xxxx` (`id`, `name`, `url`, `info`) VALUES (NULL, 'blahblahblah', '/xxxx', '');
```
```
#1467 - Failed to read auto-increment value from storage engine
```
看看表的自增id现在是多少:
```SHOW CREATE TABLE xxxx`
```sql
CREATE TABLE `xxxx` (
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(128) NOT NULL DEFAULT '',
...