How to Deactivate Wordpress Plugins from phpMyAdmin and using FTP When Not Able to Access WP-Admin?

While doing troubleshooting for any of the websites, you might be suggested to deactivate all the plugins and activate them one by one. However, sometimes Wordpress admin section becomes white screen of death and you face the issue where you are not able to access the Wordpress admin to deactivate the Plugins. Following steps will be helpful to deactivate all WordPress plugins when you are not able to access WordPress admin. Here, we will deactivate the plugin using phpMyAdmin and FTP.

Deactivate all plugins using phpMyAdmin :

  1. Login to your controlpanel. Here, we used cPanel to host our website so we log in to cPanel.

  2. At the Databases section, click on the phpMyAdmin icon.



  3. At the new browser, phpMyAdmin will load all the Database list. Select your Database and click on wp_options table.



  4. Find the option active_plugins  in option_name column inside wp_options table. Click on Edit Button.



  5. On Next screen change the option_value box field to a:0:{} and Hit Ok Button.



This is how you can deactivate all the plugins using phpMyAdmin.

Deactivate all plugins using FTP :

For this method, you can use FTP client to access your root WordPress files or directly make changes from controlpanel file manager. If you face issue to connect FTP, click on this link to refer our article to connect FTP over SSL /TLS.

  1. Connect your FTP to your website root files. Go to Wp-content >> Plugins.



  2. Right-click and rename the plugin folder. Here, we have rename with plugin-deactivate.



Your plugin will be deactivated once you make these changes. You can use this method while your Wordpress admin is inaccessible. Once you are able to access the WordPress admin, change the plugin folder as it is. You can activate plugin one by one from WordPress admin and you will be able to find the actual plugin which is causing the issue.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to Set Up Wordpress Pretty Permalinks in a Windows Environment Running IIS?

Default Wordpress URL looks like http://mydomain.com/?p=123. It is not a user-friendly SEO URL....

How to write a new post in WordPress

Video Tutorial Get Wordpress Hosting

How to install theme in WordPress Website

What is a Theme and why we need it? Themes allow users to change the look and functionality of a...

How to find Database details of your Wordpress in cPanel?

This article is for you if you are a Wordpress beginner and don't know how to find your Wordpress...