If you have lost access to your WordPress admin panel, you can reset your password through phpMyAdmin by following these steps:
Step 1: Access phpMyAdmin
Log in to your DirectAdmin control panel.
Navigate to Account Manager MySQL Management.
Select the WordPress database and click phpMyAdmin.
Step 2: Locate the wp_users Table
In phpMyAdmin, find and select the wp_users table (the prefix may be different, e.g., wpabc_users
).
Locate the admin user in the list and click Edit.
Step 3: Change the Password
In the user_pass
field, enter your new password.
In the Function column, select MD5 from the dropdown menu.
Click Go to save the changes.
Step 4: Log in to WordPress
Now, go to your WordPress login page (yourdomain.com/wp-admin
) and use the new password to log in.