Skip to content
首页 » 科技|网络 » 如何删除 WordPress 数据库中的特定表格

如何删除 WordPress 数据库中的特定表格

当你使用 WordPress 时,有时需要从数据库中删除特定表。例如,卸载 Yoast 插件之后,要彻底删除它的痕迹,你需要删除一些表,如 “yoast_indexable” 、”yoast_indexable_hierarchy” 、”yoast_migrations” 等。注意 —— 在删除任何内容之前先备份数据库!万一出错,你可以恢复数据库。安全总比后悔好!

wordpress
wordpress

要删除特定表,请按照以下步骤操作:

  1. 安装 Advanced Database Cleaner 免费插件。
  2. 进入插件的 “Tables” 选项卡。
  3. 在表列表中搜索你要删除的表,然后选择它们。
  4. 在 “Bulk actions” 中选择 “Delete”,然后点击 “Apply” 。这些表将被删除。

如果你有数百个表,无法手动找到要删除的表,可以使用其专业版,根据表名搜索特定表。搜索特定表,请按照以下步骤操作:

  1. 安装高级数据库清理插件的专业版。
  2. 进入 “Tables” 选项卡。
  3. 在 “Search for” 文本框中输入你要搜索的词,然后点击 “Filter” 。
  4. 从结果中选择要删除的表,在 “Bulk actions” 中选择 “Delete”,然后点击 “Apply” 。

本文编译自 Sigma Plugin

生于湖南,求学于北京,先后在广东、北京、DC 工作。一代移民,生活在美东小镇。

Disclosure: We are an Amazon Associate. Some links on this website are affiliate links, which means we may earn a commission or receive a referral fee when you sign up or make a purchase through those links.

相关文章

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Stock images sponsored by depositphotos.com | Skimlinks