If you lost access to your admin email and cannot reset your password normally, you can do it directly in the database:
- Login to cPanel and open phpMyAdmin.
- Select your WordPress database from the left sidebar.
- Find the table named
wp_users(the prefix might be different, e.g.,wp123_users). - Click Edit next to your admin user record.
- Find the
user_passfield. In the Function column, select MD5. - In the Value column, type your new password.
- Click Go at the bottom.
Now you can login to WordPress with your new password.