Yes, you can change your WordPress password using cPanel by accessing the database with phpMyAdmin.
To do this:
- Log in to your cPanel account.
- Open phpMyAdmin under the Databases section.
- Select your WordPress database from the left panel.
- Locate and open the wp_users table (note: the table prefix may vary).
- Find your admin account and click Edit.
- In the user_pass field, enter your new password and choose MD5 in the function column.
- Click Go to save the changes.
While MD5 is not the hashing method WordPress currently uses, this approach still works for resetting the password. Once you log in, WordPress will rehash the password using its modern, more secure algorithm.
Tip: If possible, use the "Lost your password?" link on the WordPress login page or use WP-CLI for safer password management.