title | excerpt | updated |
---|---|---|
How to change the admin password of a CMS |
Find out how to change your CMS admin password directly via the CMS admin interface, or by using phpMyAdmin in the OVHcloud Control Panel |
2024-10-15 |
Have you lost access to your WordPress, PrestaShop, Joomla! or Drupal administration interface? Or would you just like to increase your website’s security by changing your admin password? In this guide, you can find step-by-step instructions on how to do this, either directly via the CMS administration interface, or by using phpMyAdmin in the OVHcloud Control Panel.
Find out how to change your admin password on WordPress, PrestaShop, Joomla! and Drupal CMS, to guarantee security and optimal access to your website.
- A web hosting plan that allows you to install a 1-click module.
- A 1-click module on your web hosting plan (if you have not done this already, follow the instructions from this guide).
- Accesss to the OVHcloud Control Panel (only for the phpMyAdmin part of this guide).
There are several ways of changing the admin password for your CMS, depending on your situation:
- via automatic email (forgot password)
- via your CMS administration interface
- via phpMyAdmin via the OVHcloud Control Panel
Warning
OVHcloud provides services that you are responsible for with regard to their configuration and management. It is therefore your responsibility to ensure that they function properly.
This tutorial is designed to help you with common tasks. Nevertheless, we recommend contacting a specialist provider or the publisher of the CMS you have chosen to install if you encounter any difficulties. We will not be able to assist you. You can find more information in the Go further section of this tutorial.
Find below the links to the respective official pages of the CMS mentioned above:
- WordPress{.external}
- Joomla!{.external}
- Drupal{.external}
- PrestaShop{.external}
Do you still have access to your emails and the login interface? This method is the fastest, by avoiding accessing the CMS settings or passing through phpMyAdmin.
[!tabs] WordPress
To change your WordPress admin password via the "Forgotten your password" option, follow the steps from the "Through the automatic emailer" section of the official WordPress documentation.
PrestaShop
Access your website’s PrestaShop login interface (e.g.
https://your-domain.com/admin/
), then click "Forgotten your password" to receive an email prompting you to reset your password.Joomla!
To change your Joomla! admin password via the "Forgotten your password" option, follow the steps from the "Frontend" section of the official Joomla! documentation.
Drupal
To change your Drupal admin password via the "Forgotten your password" option, follow these steps:
- Access the admin login interface.
- Click on the "Request a new password" link.
- In the dialog box that appears, enter either the username or the email address associated with the administrator account.
- Click "Send new password" or "Email new password".
- Open the email you have received and click on the link provided.
- Enter your new password and confirm.
- Go back to the Drupal login page and log in with the new password you have just set.
Do you have access to the CMS administration interface and know your current password? Change your password directly from your admin account settings.
[!tabs] WordPress
To change your WordPress admin password via the CMS management interface, follow the steps from the "To Change Your Password" section of the official WordPress documentation.
PrestaShop
The PrestaShop official documentation doesn't explain how to change the administrator password via the login interface. Please refer to PrestaShop official documentation to find another way to update your password.
Joomla!
To change your Joomla! admin password via the admin interface, follow the steps from the "Backend" section of the official Joomla! documentation.
Drupal
The official Drupal documentation does not explain how to change the admin password via the login interface. Refer to official Drupal documentation for an alternative method of updating your password.
Do you no longer have access to the CMS administration interface, or can't use the "Forgotten your password" feature because the associated email address can't be accessed? Use phpMyAdmin from your OVHcloud Control Panel to reset the password directly from the database.
Log in to your OVHcloud Control Panel then select Web Cloud
{.action}. Click Hosting
{.action} and select the solution concerned. In the Databases
{.action} tab, identify the database used by your CMS, click the ...
{.action} button, then Go to phpMyAdmin
{.action}.
Enter the database credentials (username and password) that you defined when you created the database. Once you have logged in to phpMyAdmin, click on the relevant tab below.
[!tabs] WordPress
Follow the steps from the "Through phpMyAdmin" section of the official WordPress documentation.
PrestaShop
Follow the steps from the "You do not have access to your e-mail address" section of the PrestaShop official documentation.
Joomla!
Follow the steps from the "Resetting in phpMyAdmin" section of the official Joomla! documentation.
Drupal
Once you have logged in to phpMyAdmin, follow these steps:
- Select the database Drupal uses for your website.
- Locate the
users_field_data
table (for Drupal 8 and later versions) or users table (for Drupal 7 and earlier versions).- Find the admin user with
uid = 1
.- Click
Modify
.- In the
pass
field, selectMD5
in theFunction
column to the right of the field.- Enter a new password in the value column.
- Commit and save the changes.
Tutorial - Install WordPress manually
Tutorial - Manually install Joomla!
Tutorial - Manually install Drupal
Tutorial - Install PrestaShop manually
For specialized services (SEO, development, etc.), contact the OVHcloud partners.
Join our community of users.