Step 1: Go to WordPress login page (example.com/wp-admin).
Step 2: Click on Lost your password? at the bottom.
Step 3: Enter Username/Email of WordPress admin user. Click Get New Password.
Step 4: Once email for password reset is received, click on the link provided inside the email for steps to resets your password.
Step 5: Enter your New password and click on Reset password.
phpMyAdmin
Step 1: Log in to cPanel account.
Step 2: Under Database section, click phpMyAdmin.
Step 3: Click on the name of your database on the left panel.
Step 4: Click on wp_users table.
Step 5: Click on Edit beside your WordPress Admin user.
Step 6: In the user_pass field, paste your password. Select MD5 from the drop-down arrow and click Go.
Step 7: A message indicating database record was updated will appear.