How To Uninstall A WordPress Plugin Completely From The Database
February 17th, 2017 | by Ravi Chahar || 9 Comments |
If you’re running a WordPress website then you would know the importance of the plugins. You can find a plugin for everything.
WordPress repository consists thousands of plugins.
But after using any plugin, you always remove it from your WordPress plugin’s list. Just like everyone, you use the uninstall button below the plugin.
Have you ever thought to uninstall a WordPress plugin completely from the database?
You would be amazed to know that even after removing any plugin from your WordPress admin area, its tables remain in the database which increases the size.
It’s important to remove those tables.
What Should You Do To Delete The Plugin Tables?
If you have ever gone through the cPanel of your web hosting then you would know the place.
But if you don’t then I will guide you.
First of all, backup WordPress database and your website’s data to your computer. It’s important to have a backup plan.
If you do something wrong, you can restore your website from backup again.
There are a few steps required to delete those tables.
Step 1:- Login to your cPanel area and find the “databases” section. Click on the phpMyAdmin icon and a new tab will open for you.
Step 2:- In the left-hand side menu, you will see the name of the database of your website. Just click on the database name and many tables will appear on the screen.
Step 3:- You should remember the name of the plugin you just uninstalled from the admin area. Just find the tables similar to the plugin’s name.
Here, I am showing you the tables generated by the SEOPressor. Just select those tables and go down, open the drop-down menu and choose “drop”.
You can also delete one row at a time. Just use the “Drop” button for each row of the table.
After removing all the rows, you can check and repair SQL database so that no extra or broken table exists.
If your website works great even after deleting those tables then it’s the high time. You have successfully removed all the extra tables generated by the plugins.
There are also a few plugins which remove their own tables when you delete them.
But it’s important to check the database after deleting every plugin.
Can You Now Uninstall A WordPress Plugin Completely?
As always told, it’s important to maintain the page loading time of your website. And the database plays an important role.
You should keep its size as minimum as you can. You can also use any database optimization plugins like WP-Optimize.
But plugins don’t work always. You should do it manually. I hope now you can uninstall a WordPress plugin completely from the database?
If you have any doubt, feel free to ask.