How to Reset Magento Admin Logins

There are three options on how to reset the Magento admin credentials: 

Via Magento Admin Page

This option is the easiest as you only need to login to the website’s admin page directly. 

Note: This process needs to have your access or current Magento credentials.

Step 1Access your Magento admin page. Use the same admin URL set up during Magento installation.  

Step 2. Log in using the username and password set up during Magento installation. 

Magento Login Page

Step 3. Click the drop-down on the upper right side of the page with your username on it.  

Step 4. Click the Account Setting option.  

Magento Admin Page Account Setting Option

Step 5. Enter the details that need to be updated and don’t leave the boxes with [*] asterisks empty. 

  • User Name – This is the username needed to login to Magento admin page.  
  • First Name  Enter the preferred first name of the login profile inside the box. 
  • Last Name – Enter the preferred last name of the login profile inside the box. 
  • Email – This is the registered email address of the user account where the reset link will be sent if you can no longer access the Magento admin page.  
  • New Password – Enter a new password. 
  • Password Confirmation – Re-enter the new password.  
  • Interface Locale – Choose the preferred language of your website.  
  • Your Password – Enter the current password used in Step 2.  

Step 6. Click the Save Account button to save the changes made.  

Magento My Account Page

If either of the username or password has been changed, you will be logged out and will be prompt to the Magento admin login page.  

Via Forgot Your Password Link 

This process is applicable if you have access to the email address set up during Magento installation as the instructions to reset the password will only be sent to that email.  

Step 1. Access your Magento admin page. Use the same admin URL set up during Magento installation. 

Step 2. Click the Forgot Your Password link.  

Magento Forgot Your Password Link

Step 3. Enter the Email address in the box provided.  

Step 4. Enter the letters and numbers from the image.  

Step 5. Click the Retrieve Password button. 

Enter Email for Reset in Magento

An email with the reset link will be sent to the email address submitted.  

Via phpMyAdmin 

This process is applicable if none of the username, password, and email address are accessible. This will only need to have access to your web hosting server or cPanel. Follow the steps below on how to update your Magento admin logins in phpMyAdmin: 

Step 1Log in to cPanel. 

Step 2. Click File Manager. 

Step 3. Go to your Magento website files and locate the env.php file in the file path of app/etc/env.php. 

Step 4. Right-click on the file and select Edit. 

Step 5. Click the Edit button. 

Step 6. Scroll down to line 17 and take note of the value indicated on the right of the dbname (database name). 

Magento Website Database Details in Env-php File

Step 7. Go back to cPanel homepage by going back to the previous tab. 

Step 8. Scroll down to the icons under Databases and click phpMyAdmin. 

cPanel phpMyAdmin Button

Step 9. Click the database name that was obtained from Step 6. 

Step 10. Click the table that ends with admin_user. 

Step 11. Click Edit on the row that corresponds to the logins that need to be updated. 

Edit Magento Details in PhpMyAdmin

Step 12. Enter the new details that you want to be changed. 

  • firstname – Enter the preferred first name of the login profile inside the box.  
  • lastname – Enter the preferred last name of the login profile inside the box. 
  • username – This is the username needed to login to Magento admin page. 
  • email – This is the registered email address of the user account where the reset link will be sent if you can no longer access the Magento admin page. 
  • password – Choose MD5 from the drop-down to use it as an encryption method for the password. Enter a new password in the Value field. 

Enter Updated Magento Details in phpMyAdmin

Step 13. Scroll down and click either of the Go buttons to save the changes.

Click Go Button to Save Updated Magento Details 

Test the new logins by logging in to your Magento admin page URL.  

Do not hesitate to contact our Singapore or Australia Support Team if you have further questions. 

(Visited 85 times, 1 visits today)

Was this article helpful?

Related Articles