How to bulk delete WordPress comments in PHPMyAdmin

Any user working on the computer system has the option in quickly deleting all the WordPress comments by using MySQL or phpMyAdmin. This particular method has a recommendation for all advanced users. The first step is logging in to cPanel dashboard of your hosting account of WordPress. Once you can view the databases section, then the option is there to click on phpMyAdmin.  

Details associated with deleting WordPress comments and phpMyAdmin

Once you would be inside phpMyAdmin, then you can look out for locating your WordPress database. You can then view the page like this which would show all the WordPress database tables. 

From this position onwards, you will need to find two relevant tables. The significance of WordPress Installation in this regard will have a lot of importance. It is only after the installation of WordPress; viewing all tables will become possible. These two tables indeed would be ‘wpprefix_comments’ and ‘wpprefix_commentmeta’. Once you can find them, then select both of them by marking a check to their respective boxes positioned towards the left. Then you can surely scroll down and then make efforts for finding a drop-down menu which says “With Selected”.

You can then click on it and then select the option of “Empty” from the list. After this stage, you would be then asked to have confirmation if you can go ahead with this or not. You would have to click on ‘Yes” for deleting the entire comments from the database. A warning even would be demonstrated by PhpMyAdmin before you can empty the tables.

You can continue further after pressing the yes button. It will help you in deleting all the WordPress comments from your database. You would also have the option in deleting the entire comments of WordPress with the help of using MySQL console (the command line). You can do this by simply logging in to your MySQL console and then run this particular command. 

You would also be in a position to see the entire comments cause on your site get deleted as you may have noticed, that it is very much easy in bulk, deleting the comments of WordPress. The most important aspect is that with the help of using a plugin or with the help of phpMyAdmin, you can remove all the comments in no time.

Conclusion

That’s it; we hope this article will prove very valuable for you in quickly deleting all the comments in WordPress. We even hope that you should not struggle to understand all the easy steps in bulk, deleting the WordPress comments in phpMyAdmin. You can surely follow some more of our articles in the future to enhance your knowledge about WordPress further.

Recent Articles

How to bulk delete WordPress comments in PHPMyAdmin

Any user working on the computer system has the option in quickly deleting all the WordPress comments by using MySQL or phpMyAdmin....

Removing unwanted p and br tags from WordPress

When working with HTML, you sometimes don’t like your HTML editors because of the irritating automatic bugs. Yes, we are here with...

The 7 Best WordPress Plugins For Google Analytics 2020

As the saying goes, "what is not measured, is not managed." After setting up a WordPress website, it’s important to see what’s...

How to hide all WordPress update notifications in dashboard

When working on a project, it can be frustrating to have to deal with all the update notifications that are in the...

How to add custom HTML to wp_nav_menu

WordPress has a lot of features that help us solve almost all daily tasks of any programmer or web developer. Due to...

Get in touch

Be our first-class reader, build a community and follow us on social media!

Leave A Reply

Please enter your comment!
Please enter your name here