【问题标题】:WP Database repair [closed]WP数据库修复[关闭]
【发布时间】:2014-11-03 15:21:36
【问题描述】:

我无法访问我的 wp-admin(到目前为止前端工作正常)。

WP System 告诉我在wp-config.php 中将WP_ALLOW_REPAIR 添加为true。

我做到了。

我按下修复数据库并收到以下消息:

wp_users: 1 client is using or hasn't closed the table properly
wp_usermeta: 9 clients are using or haven't closed the table properly
wp_posts: 21 clients are using or haven't closed the table properly
wp_comments: 33 clients are using or haven't closed the table properly
wp_options: Table is marked as crashed
wp_postmeta: 28 clients are using or haven't closed the table properly
wp_terms: 3 clients are using or haven't closed the table properly
wp_term_taxonomy: 18 clients are using or haven't closed the table properly
wp_term_relationships: 18 clients are using or haven't closed the table properly
wp_commentmeta: 26 clients are using or haven't closed the table properly

这是一个可以解决的问题吗,还是我应该...只是...找一些小山跑去:/

主要,商业网站。担心。是什么赋予了?请帮忙。

【问题讨论】:

  • 这个问题似乎是题外话,因为它是关于 WordPress 管理的。尝试在WordPress Development 上提问,但在发帖前请查看他们的帮助中心。
  • 我没有从那里得到回应.. 所以,我决定把这里放在 Stackoverflow 上......我不知道人们在帮助某人之前会在这里查看品牌和公司关注点......跨度>

标签: php mysql wordpress mysqli phpmyadmin


【解决方案1】:

您发布的输出表明 wp_options 表存在问题。通常这可以通过发出修复命令来恢复(在执行任何操作之前备份所有数据)。要发出命令,您可以使用 phpMyAdmin 或您喜欢的任何客户端:

REPAIR TABLE wp_options

有关此命令的更多信息:MySQL Reference Manual: REPAIR TABLE Syntax

如果这没有帮助,请尝试使用以下参数发出命令:

REPAIR TABLE wp_options EXTENDED

REPAIR TABLE wp_options USE_FRM

阅读 MySQL 手册中有关 USE_FRM 的信息。

【讨论】:

    【解决方案2】:

    尝试访问您的服务器 phpmyadmin 面板,然后选择您的数据库,然后选择所有表,在显示您的表的主页的下部,您将看到一个下拉菜单打开它并选择“修复表”选项

    http://www.siteground.com/img/knox/tutorials/uploaded_images/images/phpmyadmin/31.jpg

    希望对你有帮助

    【讨论】:

      猜你喜欢
      • 2020-10-20
      • 1970-01-01
      • 1970-01-01
      • 2022-01-23
      • 1970-01-01
      • 2022-11-29
      • 1970-01-01
      • 2017-10-04
      • 1970-01-01
      相关资源
      最近更新 更多