• Resolved hamilton33

    (@hamilton33)


    I run a membership site, and always log in with my admin username.

    Tried it today, didn’t recognize the login. Ok, I requested the password. DIDN’T RECOGNIZE MY EMAIL. Uh oh.

    Went into phpmyadmin, looked through the 180 accounts.. admin isn’t one of them. OH NO.

    Is there any way to create an admin account from the host cpanel?

    Is there any way to tell what accounts have admin access (in case of hackery, and someone changed the admin details)? (I can edit that password in myphpadmin and get in).

    What would you recommend I try? It’s a dark day over here…

    thanks,
    Dave

Viewing 5 replies - 1 through 5 (of 5 total)
  • Go in phpmyadmin and check users see id anyone has
    ID 1 as I think that is default id for admin.

    Other thing you need to check wp_usermeta table 12 wp_capabilities the admin should have administrator in value.

    Thread Starter hamilton33

    (@hamilton33)

    govpatel,

    THANKS for the ideas.

    Believe it or not… both of these confirm that there is no account that has administrator access!

    in the wp_usermeta screen, I had it list the 2400 lines of data about all of the accounts, NOT ONE showed administrator, they are all subscriber.

    Does this mean I cannot log in to my dashboard? How can I create an administrator account? AHHHHH! (sorry, under control now).

    thanks for any advice people might have…

    Dave

    Moderator James Huff

    (@macmanx)

    Access your database via phpMyAdmin, go to the wp_users table and find the row for your user_login . Note the ID of this row. Now, go to the wp_usermeta table and find the wp_capabilities row for your user_id . Set the value of this row to a:1:{s:13:"administrator";b:1;}

    Thread Starter hamilton33

    (@hamilton33)

    You guys rock. Thanks, that did it.

    I only wonder what happened to my original admin account?

    Weird.

    Thanks again…

    Moderator James Huff

    (@macmanx)

    You’re welcome! It’s possible that it could have simply been a plugin malfunction, but just in case it was a hack, you may want to implement some (if not all) of the recommended security measures.

    Also, keep regular backups.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Help! My admin account is gone!’ is closed to new replies.