Deactivating WordPress Plugins Directly from the Database
You can easily disable all WordPress plugins directly from your database. This is useful when you have problems with your WordPress installation, such as not being able to log in to the admin Dashboard, or having blank pages on the website.
If you don't know which is the database used by your WordPress website, you can check the DB_NAME variable in the WordPress configuration file named wp-config.php. This file is usually located in the document root directory of your application and can be opened via the File Manager in cPanel VPS.
To disable all plugins, go to phpMyAdmin in cPanel and select your WordPress database from the menu on the left.
Browse the table wp_options and search for the option active_plugins. Click the pencil icon to edit the table. Its content will vary, depending on what plugins you have enabled. For example, if you have the Akismet and Hello Dolly plugins enabled, the code there will be:
To disable all plugins, simply delete the code and click the Go button to save the change.
Please note that this table may have a different prefix instead of wp_. You will see the correct prefix of the database once you access the phpMyAdmin tool and select the WordPress database.
Disabling the plugins in this way will not delete them from your WordPress application. They will simply be deactivated. You can easily activate them from your WordPress admin area at any time.
My name is Linda, I have Master degree in Information Technology Engineering. I have some experiences in working with Windows and Linux VPS and I have been working for 2 years on Virtualization and Hosting.