How to change or reset wordpress admin username and password in Cpanel?
To change / reset the admin username and password in wordpress follow the steps given below.
Step 1: Login to Control Panel.
Step 2: In the search box, enter as php. Click phpMyAdmin under Databases.
You will be redirected when connecting to phpMyAdmin page as shown in the below image.
Step 3: In the phpMyAdmin page, select the required Database name.
Step 4: Click on the plus icon near the selected Database name. From the list of tables, select wp_users.
Step 5: Click Edit option.
Step 6: In the column user_pass, enter the password under Value and select the function as MD5. Click Go.
Note: When you use MD5 function to change the admin password, your password will be automatically encrypted and stored in Database.