EnglishEN

Reset your WordPress admin password

First try Lost your password? on the login screen to get an email. If no email arrives, change it with Softaculous, WP-CLI, or phpMyAdmin.

ChemiCloudcPanelSoftwareSoftaculous Apps Installer

HostingerhPanelDatabasesphpMyAdmin

Steps

  1. On the login screen, click Lost your password? to get a reset email.
  2. If you installed with Softaculous, go to cPanel > Software > Softaculous Apps Installer > Installations, click the WP Manager icon > Change Password, then Save.
  3. If you can use WP-CLI, change it with the command below. Replace username and password with your real values.
    wp user update username --user_pass=password
  4. Back up first before using phpMyAdmin. In cPanel > Databases > phpMyAdmin, open that database > SQL, paste the statement below, and click Go. wp_ is your table prefix; replace new_password and admin_username with real values.
    UPDATE `wp_users` SET `user_pass` = MD5( 'new_password' ) WHERE `wp_users`.`user_login` = "admin_username";

Source

Related posts