Title: Lost super-admin
Last modified: November 5, 2017

---

# Lost super-admin

 *  [joncosby](https://wordpress.org/support/users/joncosby/)
 * (@joncosby)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/lost-super-admin-2/)
 * In the process of making changes to WP, including changing my admin username,
   I lost my super-admin permissions, and access to plugins along with it. Can somebody
   give me the SQL code to restore my privileges?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flost-super-admin-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/lost-super-admin-2/#post-9652937)
 * If you made a backup before making changes, you can restore the database from
   that backup. Users are stored in the database.
 *  Thread Starter [joncosby](https://wordpress.org/support/users/joncosby/)
 * (@joncosby)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/lost-super-admin-2/#post-9652957)
 * Not necessary. I found the admins field in the wp_sitemeta table.

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

The topic ‘Lost super-admin’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [joncosby](https://wordpress.org/support/users/joncosby/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/lost-super-admin-2/#post-9652957)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
