Forums

GRRR!! how can I create admin through phpmyadmin? (7 posts)

  1. pickled
    Member
    Posted 5 years ago #

    long story how I got to this point, but the bottom line is this:

    1) I need to create an admin user through phpmyadmin
    2) I did, set user level to 10, and the wp_capabilites to a:1:{s:10:"administrator";b:1;}

    but it didn't work. the admin only has permission to *log in* and that's all. what do I need to do to get this account acting as admin? it looks right to me...thanks!

  2. Ghidra99
    Member
    Posted 5 years ago #

    You haven't tried creating/changing this user account through the WP Admin "User" section?

  3. pickled
    Member
    Posted 5 years ago #

    *I need to create an admin user through phpmyadmin*

  4. moshu
    Member
    Posted 5 years ago #

    Users have "data" in the wp_users and wp_usermeta table. Did you edit both?

  5. pickled
    Member
    Posted 5 years ago #

    yes I did

  6. moshu
    Member
    Posted 5 years ago #

    I just checked a few installs of mine...
    while the wp_uswer_level is 10, the other line always looks like:
    a:1:{s:13:"administrator";b:1;}

  7. pickled
    Member
    Posted 5 years ago #

    tried that, thanks, but no luck

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.