Disable WordPress Plugins via MySql

Sometimes a WordPress plugin will take down your whole site which can drive you nuts. You can’t get to WP-Admin to fix it and you are left wondering what to do next. Well here is the solution.

Login to cpanel in most cases this will be domain.com/cpanel

Go to phpMyadmin and select your database

Click the SQL tab

Paste this line and hit go

UPDATE wp_options SET option_value = ” WHERE option_name = ‘active_plugins’;

This will disable all of your plugins and you can get to your site, then activate plugins one by one until you figure out what messed up your site.

If you made the DB name something other than the default you will need to put that in the line. So if your prefix is ms_ for your DB you would make it ms_options

 

Happy Blogging