Delete BBPress


#1

Hello,

I’m currently using easyengine on my server with bbpress. I decided to delete the plugin. Now I was wondering how to delete all the posts and replies on my database.

I try to google my problem and I found a command for phpmyadmin to delete forum contents manually. Here’s the code for mysql command:

`DELETE a,b,c FROM wp_posts a

LEFT JOIN wp_term_relationships b ON (a.ID=b.object_id) LEFT JOIN wp_postmeta c ON (a.ID=c.post_id) WHERE a.post_type IN (‘forum’, ‘topic’, ‘reply’)`

The problem is it doesn’t work with Mariadb. How do I convert this command to work with mariadb? Thanks in advance. and sorry for my english.


#2