How to reset your WordPress password on Localhost.

Windows Articles

How to install the Owncloud desktop client Ubuntu 20.04?

In this post, You will learn how to install the Owncloud desktop client on Ubuntu 20.04. Many users and...

How to finish a task and force to close a program in Windows 10

Hello! We use numerous applications in Windows 10 on a daily basis. However, these programs can fail and crash. That is, it...

How to install Android on a USB key

Hi! Android is a very versatile mobile operating system because it is based on Linux kernel and other open-source software, it can...

Microsoft releases emergency update.

Security is one of the fundamental issues for Microsoft in Windows 10. In fact, since it was launched, the company has changed...

How to remove Windows 10 network credentials

Hi! Every time you access a website using Windows 10, a lot happens. In fact, the system will store the credentials to...

Hello! The password is essential to be able to enter your website. When this happens, you just need to retrieve it through an email. However, when installing WordPress on a local server, then this option is not available. But don’t worry, today we will see how to reset your WordPress password on Localhost.

What is Localhost?

This is a service offered by applications such as XAMP, MAMP among others, which allows you to simulate all the conditions of a real server. To do this, use the resources of the computer to install packages of PHP and MySQL. Precisely, all these tools in the webserver allow WordPress to work. This local server is ideal for testing plugins and themes, as it offers a development environment almost identical to a real server. Also, it’s a great idea to test WordPress before publishing it on the website.

How to reset the password at the Localhost.

Under real server conditions, WordPress allows you to reset your password using your registered email. Since it is enough to enter the mail so that the system sends a link to be able to recover it. However, in a local server environment, this solution is not possible. Since the mail function is disabled. That is, the system does not send the recovery email. Of course, it is possible to enable this function by editing some lines of code. However, today I propose an alternative solution.

How to recover your password on Localhost using phpMyAdmin.

When you install a local web server, another server called PhpMyAdmin is also installed. In effect, this is used to manage, modify, create, or delete databases. In fact, from this section, the MySQL system is used to create the database for WordPress. Well, the first thing you have to do is check which is the database created for WordPress. With this intention, check the file wp-config.php. There is the name of the database used.

Then, you just need to log in to the phpMyAdmin server. Once there, please click on the WordPress database.

Select the WordPress database.
Select the WordPress database.

Immediately all the tables in the database will be displayed. Please select wp-users. This is where the information for each user is stored.

Select the wp-users table
Select the wp-users table

Then click on Edit.

From now on the method involves a few simple steps. First, select the value corresponding to the administrator user. That is, the parameter you usually use to log in to the server. Then select the MD5 function as this is used by WordPress to generate the password. Then in the password field, select the new value in plain text. Finally, press the Go button to set the changes.

Setting the new password in Localhost for WordPress

After this step, you will be able to login to WordPress with your new password. That’s it! Simple but very useful, right? I hope you can manage your local server more efficiently. Well, we finally saw how to reset your WordPress password on Localhost. Bye!

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to install the Owncloud desktop client Ubuntu 20.04?

In this post, You will learn how to install the Owncloud desktop client on Ubuntu 20.04. Many users and...

How to finish a task and force to close a program in Windows 10

Hello! We use numerous applications in Windows 10 on a daily basis. However, these programs can fail and crash. That is, it...

How to install Android on a USB key

Hi! Android is a very versatile mobile operating system because it is based on Linux kernel and other open-source software, it can...

Microsoft releases emergency update.

Security is one of the fundamental issues for Microsoft in Windows 10. In fact, since it was launched, the company has changed...

How to remove Windows 10 network credentials

Hi! Every time you access a website using Windows 10, a lot happens. In fact, the system will store the credentials to...
x