How to revert index key, I can’t change any field in my database

Hi, I forgot backup my database before.

Currently, I can’t access to /wp-admin/plugins page, all plugin not working. I was try change in “wp_option” and active in “active_plugins” (option_name column). But not work.

I try install WP-CLI to try disable ( I install WP-CLI success in my VPS but when I try run: wp help index-mysql show this error:

wp help index-mysql
Error: YIKES! It looks like you're running this as root. You probably meant to run this as the user that your WordPress installation exists under.

If you REALLY mean to run this as root, we won't stop you, but just bear in mind that any code on this site will then have full control of your server, making it quite DANGEROUS.

If you'd like to continue as root, please run this again, adding this flag:  --allow-root

If you'd like to run it as the user that this site is under, you can run the following to become the respective user:

    sudo -u USER -i -- wp <command>

I can run the command wp --info like this image:

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer