Would you like to learn how to recover the WordPress admin password? In this tutorial, we are going to show you how to use the WordPress password recovery procedure to change the password of the admin user using the command-line of a computer running Ubuntu Linux.

• Ubuntu 18.04
• Ubuntu 19.04
• WordPress 5.3.2

WordPress Tutorial:

On this page, we offer quick access to a list of WordPress tutorials.

Tutorial WordPress – Password Recovery

In our example, we are using MySQL as the database service for WordPress.

First, we need to access the MySQL server as root user.

Use the following command to install the required packages.

Copy to Clipboard

Use the following command to login the MySQL server as root.

Copy to Clipboard

The system will ask you to enter the root user MySQL password.

Use the following MySQL commands to reset the WordPress Admin user password.

Copy to Clipboard

In our example, the website administrative user account is named admin.

In our example, we changed the admin user password to admin.

Keep in mind that you need to change the WordPress database name and the Admin account name to reflect your environment.

WordPress Dashboard Login

Open your browser and enter the IP address of your WordPress server /wp-admin

In our example, the following URL was entered in the Browser:

• http://192.168.0.10/wordpress/wp-admin

The WordPress web interface should be presented.

wordpress login

On the prompt screen, enter the new WordPress login information.

• Username: admin
• Password: admin

After a successful login, the WordPress dashboard will be displayed.

Wordpress dashboard

Congratulations! You successfully recovered the password of the WordPress Admin user.