Economicalhost · Knowledge Base
Knowledge Base › WordPress & Apps › How to Disable WordPress Plugins via phpMyAdmin
WordPress & Apps

How to Disable WordPress Plugins via phpMyAdmin

When a plugin locks you out of wp-admin entirely, you can disable all plugins directly in the database. This often restores access without losing any data.

Step-by-step

  1. Back up the database first — Databases → phpMyAdmin → your database → Export → Go.
  2. Open the wp_options table (prefix may differ, e.g. wpxx_options) and click Browse.
  3. Find the "active_plugins" row. Use the search if needed — option_name = active_plugins.
  4. Click Edit on that row.
  5. Replace the option_value with a:0:{} — this is an empty list, which deactivates every plugin.
  6. Click Go, then log in to wp-admin. Reactivate plugins one at a time to find the one that caused the problem.

💡 Good to know

  • This deactivates plugins without deleting them — your settings remain intact.
  • The faster alternative is renaming the wp-content/plugins folder in File Manager — see fixing the white screen.
  • Note which plugin caused the lockout before reactivating it.