MyBB Community Forums

Full Version: Remove
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how to remove all threads from a particular forums?
Your database prefix is 'mybb'.
You need to delete all threads and posts from forum id 2.

Then these are the queries to run at once:
DELETE FROM `mybb_posts` WHERE `fid` = 2;
DELETE FROM `mybb_threads` WHERE `fid` = 2;

Need help on running SQL queries?