Title: Admin user missing !
Last modified: August 20, 2016

---

# Admin user missing !

 *  [inyar](https://wordpress.org/support/users/inyar/)
 * (@inyar)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/admin-user-missing/)
 * Hi,
 * My website was hacked yesterday (defaced). I don’t know if it has something to
   do with that, but, even if I restored an one-week-old backup, I have a strange
   problem :
 * The “admin” user disappeared !
 * In the “Users” page in WordPress: all users appear, except “admin”. Over the 
   list, it appears “Administrators (2)” (admin + another), but when I click on 
   it, only 1 appears (the other one).
 * Then I went to phpMyAdmin, and in the table wp_users, “admin” is still missing:
   it starts with ID “2”. But in wp_usermeta, “admin” appears correctly.
 * And when I try to connect with “admin”, it tells me “wrong login/password”.
 * I don’t know what to do to correct that…
    Please give me some lightup…

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/admin-user-missing/#post-2296783)
 * [http://codex.wordpress.org/Login_Trouble](http://codex.wordpress.org/Login_Trouble)
   
   [http://codex.wordpress.org/Resetting_Your_Password](http://codex.wordpress.org/Resetting_Your_Password)
   Video: [http://www.francescolanza.com/2007/10/24/password-admin-reset/](http://www.francescolanza.com/2007/10/24/password-admin-reset/)
 *  Thread Starter [inyar](https://wordpress.org/support/users/inyar/)
 * (@inyar)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/admin-user-missing/#post-2296923)
 * Well. I tried the emergency script, but – maybe because the “admin” user was 
   missing in the MySQL database – I couldn’t get it to work.
 * But… I created the admin user again in phpMyAdmin : recreating the user ID 1,
   username “admin”, etc. Then I could change the password.

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

The topic ‘Admin user missing !’ is closed to new replies.

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
