WordPress.org

Support

Support » How-To and Troubleshooting » user name deleted

user name deleted

  • taiyabs

    @taiyabs

    Hi there,

    From site (self hosted, wordpress 2.8.5) user name (i had two user name) deleted (as i was trying log in, it says no user name available). If there is no user name left, how can I set new one…

Viewing 3 replies - 1 through 3 (of 3 total)
  • MichaelH

    @michaelh

    Just visit your Administration > Users > Add New to create a new user.

    If you can’t login review Resetting Your Password.

    taiyabs

    @taiyabs

    to visit Administration > Users > Add New to create a new user. I HAVE TO LOG IN. But main problem is no user name left in the database. In this situation how can I create a user name…?

    MichaelH

    @michaelh

    Backup your database.

    Then, in your wp-config.php, change the $table_prefix to something different. Then visit yourdomain.com/wp-admin/install.php and let WordPress install a 2nd set of database tables, including an “admin” user, then copy the record from the user table and the records (multiple) from usermeta to your other user and usermeta tables. Then change the $table_prefix back to the original value.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘user name deleted’ is closed to new replies.
Skip to toolbar