Paste your serialized active_plugins string, toggle plugins on/off, copy the result back to your database.
wp_options table → active_plugins row.
wp_options → active_plugins.
wp_options tableactive_plugins rowoption_value