Bobcares

Bitnami wordpress reset admin password

by | Apr 17, 2022

Stuck with Bitnami wordpress reset admin password? We can help you.

At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Service.

Let’s take a look at how our Support Team assist with this query.

Bitnami wordpress reset admin password

WordPress packaged by Bitnami provides a one-click install solution for WordPress.

Download installers and virtual machines, or run your own wordpress server in the cloud.

WordPress is one of the world’s most popular web publishing platforms for building blogs and websites.

Today, let us see the steps followed by our Support Techs to reset password:

  • Firstly, obtain the user ID for the WordPress administrator account from the command line:
mysql -u root -p DATABASEHOST -e "SELECT * FROM wp_users;"
  • Replace the DATABASEHOST placeholder with the host where the database is running.
  • Then, use the command below to reset the administrator password from the command line.
mysql -u root -p DATABASEHOST -e "UPDATE wp_users SET user_pass=MD5('NEWPASSWORD') WHERE ID='ADMIN-ID';"

Remember to replace the DATABASEHOST placeholder with the host where the database is running.

The NEWPASSWORD placeholder with your desired password and the ADMIN-ID placeholder with the user ID obtained from the first command.

  • Then, to obtain the hostname where the database is running, you can execute the following command
sudo cat /opt/bitnami/wordpress/wp-config.php | grep 'DB_HOST'

You should see output similar to this:

define('DB_HOST', 'provisioner-peer:3306');

In this case, the DATABASEHOST placeholder should be replace by “provisioner-peer”.

[Looking for a solution to another query? We are just a click away.]

Conclusion

To sum up, our skilled Support Engineers at Bobcares demonstrated how to reset admin password in wordpress

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.