admin管理员组文章数量:1277290
hi i am newbie with SQL data base so forgive my dumbness i have installed KK Star rating plugin on my wp site which noticed its recording lot of entries and my db size is over 280 MB and 188MB is wp_postmeta table. uninstalled the plugin and i want to run sql query to delete all postmeta with kkstar recorcs. the meta key record is: kksr_fingerprint_default so please give me correct command line to run thanks in advance
hi i am newbie with SQL data base so forgive my dumbness i have installed KK Star rating plugin on my wp site which noticed its recording lot of entries and my db size is over 280 MB and 188MB is wp_postmeta table. uninstalled the plugin and i want to run sql query to delete all postmeta with kkstar recorcs. the meta key record is: kksr_fingerprint_default so please give me correct command line to run thanks in advance
Share Improve this question asked Oct 15, 2021 at 13:52 Persian PrincePersian Prince 133 bronze badges2 Answers
Reset to default 2DELETE FROM `{PREFIX}post_meta` WHERE meta_key = 'kksr_fingerprint_default'
{PREFIX} is the string $table_prefix
defined in wp-config.php; of course be careful in run SQL DELETE, create a table backup and (maybe) execute first a single line deletion to check the result
DELETE FROM `{PREFIX}post_meta` WHERE meta_key = 'kksr_fingerprint_default' LIMIT 1
First, make sure you back up your database. :)
If you're wanting to run a SQL command directly - perhaps using phpMyAdmin - the query would be
DELETE FROM wp_postmeta WHERE meta_key = 'kksr_fingerprint_default'
本文标签: pluginsMass SQL Wordpress Meta Key deletion
版权声明:本文标题:plugins - Mass SQL Wordpress Meta Key deletion 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741268479a2368894.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论