ociwordpress-multisite

Reset the WordPress administrator permissions

Use the command below to reset the administrator permissions for the default user account from the command line:

$ mysql -u root -p bitnami_wordpress -e "UPDATE wp_usermeta SET meta_value='a:1:{s:13:"administrator";b:1;}' WHERE user_id=1 LIMIT 1;"
Last modification April 17, 2019