# Deleting unused WordPress tables in MySQL

> Find and remove database tables left behind by uninstalled WordPress plugins using phpMyAdmin, safely and with a backup first.

Source: https://helpcenter.ruachost.com/wordpress/guides/deleting-unused-wordpress-tables-in-mysql/

When you install a WordPress plugin, it often creates database tables to store its data. However, when you uninstall or deactivate the plugin, those tables may remain in your database. Over time, unused tables can clutter your database and slow down performance. On **ruachost.com**, you can safely delete unused WordPress tables using **phpMyAdmin**.

## Why Remove Unused Tables?

- Frees up database space.
- Improves site performance.
- Keeps your WordPress database clean and organized.
- Prevents conflicts with future plugins.

## Steps to Delete Unused Tables in MySQL via phpMyAdmin

1. **Log in to cPanel** (or your hosting control panel).
2. In the **Databases** section, click **phpMyAdmin**.
3. Select your WordPress database from the left sidebar.
4. Review the list of tables.

   - Plugin tables usually have prefixes like `wp_pluginname_`.
   - Compare with your active plugins to identify unused ones.
5. Check the box next to the tables you want to remove.
6. At the bottom, click **Drop**.
7. Confirm the deletion when prompted.

✅ The selected tables will be permanently removed from your database.

## Important Notes

- Always **back up your database** before deleting any tables.
- Deleting the wrong table may break your site.
- If unsure, consult your developer or **ruachost.com [Support](https://dashboard.ruachost.com/submitticket.php?step=2&deptid=3)**.
- Consider using plugins like **Advanced Database Cleaner** for automated cleanup.
