Enabled plugins are stored as a serialised collection in the wp_options
table with the option_name
of active_plugins
. Select the option_value
paste into a deserialiser and edit the values. Update the database value to enable or disable plugins as needed. Setting a:0:{}
will disable all plugins.
update wp_options set option_value = 'a:0:{}' where option_name = 'active_plugins';