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

要删除特定表,请按照以下步骤操作:
- 安装 Advanced Database Cleaner 免费插件。
- 进入插件的 “Tables” 选项卡。
- 在表列表中搜索你要删除的表,然后选择它们。
- 在 “Bulk actions” 中选择 “Delete”,然后点击 “Apply”。这些表将被删除。


如果你有数百个表,无法手动找到要删除的表,可以使用其专业版,根据表名搜索特定表。搜索特定表,请按照以下步骤操作:
- 安装高级数据库清理插件的专业版。
- 进入 “Tables” 选项卡。
- 在 “Search for” 文本框中输入你要搜索的词,然后点击 “Filter”。
- 从结果中选择要删除的表,在 “Bulk actions” 中选择 “Delete”,然后点击 “Apply”。

本文编译自 Sigma Plugin。
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.
相关文章
Discover more from 美国攻略
Subscribe to get the latest posts sent to your email.