Title: Deleted Super-Admin
Last modified: August 20, 2016

---

# Deleted Super-Admin

 *  [hsilva](https://wordpress.org/support/users/hsilva/)
 * (@hsilva)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/deleted-super-admin/)
 * So I created a few users with “Administrator” roles and **deleted my “admin” 
   user (the one with super-admin role)** on my WordPress site.
 * Later I realized that only that specific user had access to some hidden stuff
   while editing pages, that the normal Administrator users dont have access to.
 * Because “admin” (super admin) no longer exists, I cant access the AWM Group menus
   so **I can’t give another user the super-admin role**.
 * Using phpMyAdmin, I tried creating a new user named “admin” directly on the DB
   with ID=1 on the wp_users table (believing that would help) but when I logged
   in with this new “admin” user, I didnt even have access do wp-admin.
 * I cant use a backup because some people have registered since this happened and
   made a lot of changes to the website!
 * – **How can I give the super-admin role to some other user using phpMyAdmin?**?
   –
   Does creating the user “admin” with id=1 even help? If so, what am I missing?
   What should I change in the DB besides the Id?
 * Thank you very much!
 * [http://wordpress.org/extend/plugins/advanced-access-manager/](http://wordpress.org/extend/plugins/advanced-access-manager/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [trevolutionary](https://wordpress.org/support/users/jkdsouljah/)
 * (@jkdsouljah)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/deleted-super-admin/#post-3151887)
 * Did you resolve this? I got a similar problem now
 *  [etruel](https://wordpress.org/support/users/etruel/)
 * (@etruel)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/deleted-super-admin/#post-3151888)
 * this works for me 😉
    [http://wordpress.org/support/topic/administrator-has-lost-access-to-advanced-access-manager?replies=6#post-4067196](http://wordpress.org/support/topic/administrator-has-lost-access-to-advanced-access-manager?replies=6#post-4067196)
 * The solution I used is to replace directly in the database the capabilities of
   my Super-Admin user.
    In the table “wp_usermeta”, I found the “wp_capabilities”
   row associated to my Super-Admin user and I replaced the value by :
 * a:2 {s:13:”administrator”;s:1:”1″;s:11:”super_admin”;s:1:”1″;}
 * Hope it helps.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Deleted Super-Admin’ is closed to new replies.

 * ![](https://ps.w.org/advanced-access-manager/assets/icon-256x256.png?rev=3447421)
 * [Advanced Access Manager – Access Governance for WordPress](https://wordpress.org/plugins/advanced-access-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-access-manager/reviews/)

## Tags

 * [deleted](https://wordpress.org/support/topic-tag/deleted/)
 * [super-admin](https://wordpress.org/support/topic-tag/super-admin/)

 * 2 replies
 * 3 participants
 * Last reply from: [etruel](https://wordpress.org/support/users/etruel/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/deleted-super-admin/#post-3151888)
 * Status: not resolved