专业WORDPRESS主题设计制作

MySQL警告:Found row where the auto_increment colum(mysql found_rows)

发布于: 2022-11-03

1 数据库auto increment是什么意思?

  • 2 如何修复?

 

如果电商网站管理员有足够的权限,可通过phpMyAdmin数据库控制面板,对MySQL数据库进行维护操作。

当数据库出现错误时,可以给WordPress数据库进行表维护 “分析” 或 “检查”。

但可能接着会出现这样的错误提示:

  • wp_postmeta analyze warning Found row where the auto_increment column has the value 0 
  • wp_postmeta check warning Found row where the auto_increment column has the value 0
  • Found row where the auto_increment column has the ..

以下是中文翻译:

  • wp_postmeta分析警告发现行,其中auto_increment列的值为0
  • wp_postmeta检查警告发现行,其中auto_increment列的值为0
  • 找到auto_increment列所在的行..

数据库auto increment是什么意思?

  • increment
  • 英 [‘ɪŋkrɪm(ə)nt]美 [‘ɪŋkrəmənt]
  • n. [数] 增量;增加;增额;盈余;递增

为何会出现 “auto_increment column has the value 0”?

这是因为,可能有一个或多个:可自动增量的字段,其值为0。

  • 我们发现不少用WordPress建站做SEO的朋友,也有遇到这样的问题。

如何修复?

以下是MySQL数据库问题的修复方法,非常简单!

第 1 步:点击出问题的数据表

第 2 步:点击 “meta_id” 或 “post_id” ▼

mysql-0-null

  • 然后,就会以顺序开始排序,其中ID为 0 的NULL 会排序在最上方。

第 3 步:删除 0 0 NULL NULL 的字段数据列 ▲

  • 删除 id 数据列的值为 0 0 NULL NULL 的字段。

最后,再次分析、检测MySQL数据表。

发现不再出现提示 “warning Found row where the auto_increment column has the value 0” 的警告错误,问题已经解决了,哈哈!

 

希望我们网站( https://www.wordpressx.com/ ) 分享的《MySQL警告:Found row where the auto_increment colum》,对您有帮助。

TAG:
WP技术资料 wordpress模板制作、wordpress主题开发相关知识常见问题总结
MORE
服务电话:
0533-2765967

微信 13280692153