Could not access the wordpress login and lost the email details too

Solution:1

If you have access to database then follow these steps

  1. Choose the database of WordPress installation which password need to recover. if you don’t remember database name then go file directory of WordPress install and look for define('DB_NAME', 'YOUR_DATABASE_NAME'); in wp-config.php file
  2. Once clicked on users table a list of users will show.Click on Edit link of the user whose password you want to reset.
  3. In user_pass column select md5 in drowdown.
  4. Enter the password of your choice in corresponding value field.
  5. Click on Go to save the settings.

You should be able to Login with your new password

Solution:2

So, if I get it, you want to reset your password but you doesn’t event know the e-mail. You should:

  1. Connect to your database and check the table wp_users.
  2. Find the user your want to reset.
  1. Create a new password for this user using a WP Password Generator.
  2. Update the row on your database with the new hashed password.
  3. Login.

Solution:3

If you have access to database then follow these steps

  1. Choose the database of WordPress installation which password need to recover. if you don’t remember database name then go file directory of WordPress install and look for define('DB_NAME', 'YOUR_DATABASE_NAME'); in wp-config.php file
  2. Once clicked on users table a list of users will show.Click on Edit link of the user whose password you want to reset.
  3. In user_pass column select md5 in drowdown.
  4. Enter the password of your choice in corresponding value field.
  5. Click on Go to save the settings.

You should be able to Login with your new password