Sunday, July 7, 2013

How to Reset WordPress Admin Password in Database

Did you Forget your admin password ? and don't have access to the email account it's under? If you can get access to phpMyAdmin (or anything you can run mySQL commands), you can update it there by using this sql command :

UPDATE `wp_users` SET `user_pass` = MD5( 'new_password_here' ) WHERE `wp_users`.`user_login` = "admin_username";

Don't forget to replace new_password_here with the new password and admin_username with the real admin accounts usename.
Disqus Comments