Want to really quickly disable all your WordPress plugins via mysql?

While upgrading BuddyPress today I needed to quickly update all my plugins via mysql. Don’t ask me why, I just did!

Heres a query which should sort you out:

UPDATE wp_options SET option_value = 'a:0:{}' WHERE option_name = 'active_plugins'

About Louis

Louis is a Developer and all round geek from the UK with a keen interest in web technologies and mobile applications. When not playing with code, he is probably rebuilding a Linux server or watching a Netflix marathon!
This entry was posted in wordpress and tagged , , . Bookmark the permalink.

Leave a Reply