Reset wordpress admin password on localhost

     

Recently, one of our users asked us how to lớn remix WordPress admin password on localhost? If you are running WordPress on localhost & forget your password, then you can’t rephối it by email. In this article, we will show you how to remix WordPress admin password on localhost.

*

Why Password Rephối Doesn’t Work on Localhost?

The term localhost is used lớn describe a local hệ thống that is not available lớn the general public. For example: your personal computer.

Bạn đang xem: Reset wordpress admin password on localhost

Many WordPress users install WordPress on localhost (in their computer) to lớn thử nghiệm changes, kiến thiết websites, try out new plugins, & even learn WordPress.

If you haven’t tried it, then see our tutorial on how to install WordPress on your Windows computer using WAMPhường.

Mac users can follow instructions in our tutorial on how khổng lồ install WordPress locally on Mac using MAMP.

Now here is the problem that some beginners may come across.

If you forget your WordPress admin password while working on localhost, then you will be NOT be able to rephối it using the normal password reset option in WordPress.

The password remix option emails you a liên kết lớn remix your WordPress password. In order lớn skết thúc emails, your server needs to enable the mail function.

This function is turned off by default on local servers which means WordPress will not be able lớn skết thúc the password reset tin nhắn.

But don’t worry, there’s a way to rephối your WordPress password on localhost.

Ready? Let’s get started.

Xem thêm: 4 Điểm Khác Biệt Cơ Bản Giữa Windows Server 2012 Là Gì ? Tổng Quan Về Hệ Điều Hành Window Server

Video Tutorial


Subscribe lớn jdomain.vn

If you don’t like the video clip or need more instructions, then continue reading.

Reset WordPress Admin Password on Localhost

We will be using phpMyAdmin lớn rephối password on localhost. Simply visit phpMyAdmin control panel by typing this URL in your browser’s address bar:

http://localhost/phpmyadmin/

You will be asked to lớn provide your MySQL username & password. Typically, the username is root with no password.

Once you are logged in, you need to lớn select your WordPress database.

*

Once you select your database, you will see a list of tables in your WordPress database. Go ahead and cliông chồng on the browse liên kết next to WordPress users table.

*

You will now see the danh mục of entries in your users table. The number of rows depover on how many users are registered on your WordPress site.

Next, you need lớn cliông chồng on the Edit link next lớn the username of the admin user.

*

This will open up a khung where you can edit the information stored in WordPress database for that user.

*

Scroll down khổng lồ user_pass field & type a new password in the ‘value’ column. After that you need khổng lồ select MD5 in the ‘function’ column.

Don’t forget to lớn click on the Go button at the bottom to save your changes.

That’s all, you can now login to lớn your WordPress site on localhost using the new password.

If for some reason you’re having a hard time following the phpMyAdmin method, then please look at our guide on how to lớn create a WordPress admin user using your functions.php file. Simply open your theme’s functions.php file và paste the code in the article above, và you’ll be good to lớn go.

We hope this article, helped you learn how khổng lồ remix WordPress admin password on localhost. You may also want to see our guide on how lớn how to lớn move sầu WordPress from local server to live site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress đoạn phim tutorials. You can also find us on Twitter and Facebook.


Chuyên mục: Domain Hosting