• Resolved Reconzz

    (@reconzz)


    Hi all, yesterday a client was working with the website on there Ipad and they accidently deleted the admin account, the backup wasnt working so i dont have that. The post and pages from the admin are still on the site but with the members and rolescoper plugins I can change the roles anymore says I dont have the administrator for it. Is it possible to change it in the phpmyadmin ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Using Phpmyadmin (or another MySQL management tool), first backup your database. Then navigate to your wp_usermeta table and locate the meta_key called “wp_capabilities” for your user_id. Change the meta-value for this record to:

    a:1:{s:13:"administrator";b:1;}

    Thread Starter Reconzz

    (@reconzz)

    thanks esmi your a work saver!!!

    Glad I could help ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deleted admin account’ is closed to new replies.