You can can remove WordPress comments from within the database. This can be helpful if you need to quickly remove a large amount of SPAM comments.
- Log in to phpMyAdmin.
- Select your WordPress database from the left-hand menu.
- Click the wp_comments table (the prefix may not be wp_ if a custom table prefix was used).
- Locate the comments you wish to remove.
- Tick the checkbox next to each comment, or use Check all to select multiple comments.
- From the With selected: dropdown menu, choose Delete.
- Confirm the deletion when prompted.
Additional Notes
- Always take a database backup before making changes directly in phpMyAdmin.
- If the site uses a custom table prefix, the comments table may be named something other than wp_comments (for example, abc_comments).
- Deleting comments directly from the database bypasses the WordPress recycle/trash functionality and cannot easily be undone without a backup.




