WordPress.org

Ready to get started?Download WordPress

Forums

Changing admin rights (4 posts)

  1. billtrent
    Member
    Posted 6 years ago #

    I think I somehow cut off my own admin rights - when I log in with my admin id and password I can just access the profile and dashboard. Is there a way to change a table, or to reinstall, that would give them back?

  2. billtrent
    Member
    Posted 6 years ago #

    I'm thinking there must be a way to change the user level using phpmyadmin?

    Otherwise, would a new installation do the trick?

    Any help would be appreciated.

    Thanks

  3. haochi
    Member
    Posted 6 years ago #

    Ja, go to the wp_usermeta table, SELECT * WHERE user_id = 1 and update wp_user_level => 10 & wp_capabilities => a:1:{s:13:"administrator";b:1;}

  4. billtrent
    Member
    Posted 6 years ago #

    Many thanks. That worked perfectly.

Topic Closed

This topic has been closed to new replies.

About this Topic