> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deleting unused WordPress tables in MySQL

> Learn how to delete unused WordPress plugin tables in MySQL using phpMyAdmin.

When you install a [WordPress](https://hosting.com/hosting/platforms/wordpress-hosting/managed-wordpress-hosting/) plugin, it creates relevant files, folders and database tables for you. However in some cases, the plugin database tables may not be automatically erased when you remove or uninstall the plugin. This article will show you how to delete a table in MySQL using phpMyAdmin via cPanel.

## Deleting unused WordPress plugin table in MySQL

1. Log in to cPanel.
   > 📘 Note
   >
   > If you do not know how to log in to your cPanel account, please see this\
   > [article](/docs/accessing-cpanel).

2. In the **DATABASES** section of the cPanel home screen, click **phpMyAdmin**:\
   ![phyMyAdmin](https://static.hosting.com/kb/kb_wp_phpMyAdmin.png)

3. Under the **Recent** tab, locate the WordPress database:\
   ![](https://static.hosting.com/kb/kb_wp_recent_tables.png)

4. Look through the list of tables and select the table you want to remove. check the box next to the tables you want to remove and click the **Drop** link next to the red button on the same row:

<Note>
  Always take a backup of your database before deleting any tables.![drop table](https://static.hosting.com/kb/kb_wp_select_table_drop_table.png)
</Note>

5. A confirmation message will be displayed to confirm the delete operation. Click **Ok** to confirm the delete process:\
   ![confirm table](https://static.hosting.com/kb/kb_wp_confirm_delete.png)

## Related articles

* [Creating and executing MySQL stored functions and procedures](/docs/mysql-stored-functions-and-procedures)

* [Creating WordPress admin user in MySQL using phpMyAdmin](/docs/creating-wordpress-admin-user-in-mysql-using-phpmyadmin)

* [Determining the MySQL version](/docs/determining-the-mysql-version)
