Czy chcesz zresetować twoje hasło do WordPressa za pomocą phpMyAdmin?
Jeśli nie jesteś w stanie zresetować swojego hasła WordPress, istnieje sposób na zresetowanie go bezpośrednio w bazie danych WordPress za pomocą phpMyAdmin.
W tym artykule pokażemy, jak łatwo zresetować hasło WordPress z phpMyAdmin.
Dlaczego warto resetować hasło WordPress z phpMyAdmin?
WordPress umożliwia bardzo łatwe odzyskanie utraconego hasła.
Możesz po prostu przejść do ekranu logowania twojej witryny internetowej WordPress i kliknąć odnośnik „Zgubiłeś hasło?”.
Po kliknięciu odnośnika zostaniesz przeniesiony na stronę resetowania hasła. Gdy wpiszesz swoją nazwę użytkownika lub adres e-mail, WordPress wyśle odnośnik do resetowania hasła na powiązany adres e-mail.
Jeśli jednak nie masz dostępu do tego adresu e-mail lub twoja witryna WordPress nie wysyła wiadomości e-mail, nie będziesz w stanie zresetować hasła.
W takiej sytuacji konieczne będzie zresetowanie twojego hasła do WordPressa bezpośrednio w bazie danych. Najprostszym sposobem na to jest użycie phpMyAdmin.
Powiedziawszy to, zobaczmy, jak łatwo zresetować hasło WordPress z phpMyAdmin.
Jak zresetować hasło WordPress z phpMyAdmin
Jeśli nie chcesz oglądać poradnika w formie filmu, możesz kontynuować czytanie poniższej wersji tekstowej.
Najpierw należy logować się do kokpitu cPanel twojego konta hostingowego WordPress. Następnie należy przejść do sekcji Bazy danych, gdzie należy kliknąć ikonkę phpMyAdmin.
Spowoduje to uruchomienie aplikacji phpMyAdmin.
Tutaj musisz wybrać twoją bazę danych WordPress z lewego panelu.
Zobaczysz teraz listę tabel w twojej bazie danych WordPress.
Na tej liście należy wyszukać tabelę wp_users
i kliknąć znajdujący się obok niej odnośnik „Przeglądaj”.
Uwaga: Nazwy tabel w twojej bazie danych WordPress mogą mieć inny prefiks niż ten, który pokazujemy na naszym zrzucie ekranu. Zmiana prefiksów tabel może poprawić zabezpieczenia twojej witryny WordPress.
Zobaczysz teraz wiersze w twojej tabeli użytkowników WordPress. Kliknij przycisk edycji obok nazwy użytkownika, którego hasło chcesz zmienić.
PhpMyAdmin wyświetli formularz ze wszystkimi polami informacji o użytkowniku.
Będziesz musiał usunąć wartość w polu user_pass
i zastąpić ją twoim nowym hasłem. W kolumnie funkcji wybierz MD5 z menu rozwijanego, a następnie kliknij przycisk Przejdź u dołu formularza.
Twoje hasło zostanie zaszyfrowane przy użyciu skrótu MD5, a następnie zostanie zapisane w bazie danych.
Gratulacje! Udało ci się zmienić twoje hasło do WordPressa za pomocą phpMyAdmin.
Niektórzy z was mogą się zastanawiać, dlaczego wybraliśmy skrót MD5 do szyfrowania hasła. WordPress wcześniej używał skrótu MD5 do szyfrowania haseł, ale od wersji WordPress 2.5 używa silniejszych technologii szyfrowania.
Jednak WordPress nadal rozpoznaje MD5, aby zapewnić kompatybilność wsteczną. Gdy tylko użytkownik loguje się przy użyciu ciągu haseł przechowywanego jako skrót MD5, WordPress automatycznie zmieni go, aby korzystać z nowszych algorytmów szyfrowania.
Przewodniki ekspertów dotyczące haseł w WordPressie
Teraz, gdy już wiesz, jak zresetować hasło WordPress z phpMyAdmin, możesz zapoznać się z innymi artykułami związanymi z hasłami w WordPress.
- Jak zmienić twoje hasło w WordPress (przewodnik dla początkujących)
- Jak zresetować hasła wszystkich użytkowników w WordPress?
- Jak dostosować stronę resetowania hasła WordPress?
- Jak zmusić użytkowników do zmiany haseł w WordPress – Wygaśnięcie hasła
- Zapomniałeś hasła? Jak odzyskać utracone hasło w WordPress
- Jak wymusić silne hasła na użytkownikach w WordPress
- Jak dodać uwierzytelnianie dwuskładnikowe w WordPress (darmowa metoda)
- Jak zezwolić użytkownikom na ukrywanie/pokazywanie haseł na ekranie logowania do WordPressa?
- Jak łatwo i bezpiecznie zarządzać hasłami (przewodnik dla początkujących)
Mamy nadzieję, że ten poradnik pomógł ci dowiedzieć się, jak zresetować hasło WordPress z phpMyAdmin. Zachęcamy również do zapoznania się z naszym przewodnikiem krok po kroku po zabezpieczeniach WordPressa, który pomoże ci zadbać o bezpieczeństwo twojej witryny lub z naszą ekspercką listą niezbędnych wtyczek.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
NS says
Thanks! The „MD5” encryption step is what I was missing when I tried to reset. Then I came across your article and tried it and it worked! You just saved me hours and hours of time and a potentially angry client.
aisha says
I tried this but didn’t work. Need help
WPBeginner Support says
If your changes are not staying, you would likely want to check with your hosting provider to ensure you’re not running into a security tool blocking your change. Another common issue would be if you have a staging site or an old database for a previous site so you would want to ensure you are changing the information for your correct site.
Administrator
Altuğ G. says
This didn’t work for me
WPBeginner Support says
It would depend on what part didn’t work. The most common reasons would be if you did not save your changes or did not convert to MD5
Administrator
Pakodev says
Thanks! It worked.
WPBeginner Support says
Glad our guide was able to help
Administrator
Arsène says
It worked, thank you very much
WPBeginner Support says
Glad our guide could help
Administrator
Aikya Dasgupta says
Thank you very much. This worked for me and I am now able to access my WordPress dashboard.
WPBeginner Support says
Glad our guide was helpful
Administrator
John says
Perfect – saved me from a big issue.. thanks! Now, about getting those WP system emails working again…………….!
WPBeginner Support says
If you’re not receiving the emails, we would recommend setting up SMTP on your site:
https://www.wpbeginner.com/plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server/
Administrator
Tayyab Shafique says
it was really helpful.
Thanks
WPBeginner Support says
You’re welcome
Administrator
Saad says
thanks a lot for saving my day …
WPBeginner Support says
You’re welcome
Administrator
Anita says
Thank you, this saved me a headache
WPBeginner Support says
Glad our guide was helpful
Administrator
Elias says
You’re a genius. Thank you
WPBeginner Support says
You’re welcome
Administrator
jackie says
REALLY helpful. I’ve been struggling for weeks and now i can finally log in again! thanks a lot!
WPBeginner Support says
You’re welcome, glad our guide was helpful
Administrator
Robin B says
So, so helpful. Thanks so much!
WPBeginner Support says
You’re welcome
Administrator
Chidi Ejikeugwu says
why did you recommend to use MD5 when changing password?
WPBeginner Support says
That is what WordPress uses for passwords by default
Administrator
japsimran singh says
Thank You Buddy.
It really helped.
WPBeginner Support says
Glad our article could help
Administrator
banson says
Thank you problem Solved
WPBeginner Support says
Glad our guide was helpful
Administrator
Nthtuko Mbhele says
Thank you so much, thank you, thank you
WPBeginner Support says
You’re welcome, glad our guide was helpful
Administrator
Premier says
Thank you! Solved my problem!
WPBeginner Support says
Glad our guide was able to help
Administrator
Yann says
Worked wonders, thanks!
WPBeginner Support says
You’re welcome, glad our guide was able to help
Administrator
Marco says
thank you!!!!!!
WPBeginner Support says
You’re welcome
Administrator
Anand says
Did not work for me.
WPBeginner Support says
You may want to ensure you set the password to MD5 and that you are editing the correct user file if you have multiple WordPress sites or users
Administrator
Pranoy says
very very thank you
big headache solved
WPBeginner Support says
Glad our guide could be helpful
Administrator
Urs Keller says
You did super great job. I could reset my pw. Thank you!
WPBeginner Support says
You’re welcome, glad we could help
Administrator
Taylor says
I have followed these steps and the password was generated however, whenever I put in the password it still says it is incorrect.
Any help you can provide ?
WPBeginner Support says
You would want to double-check that you encrypted the password using MD5 as the most common reason
Administrator
Cattel says
Direct explanation! Thanks!
WPBeginner Support says
You’re welcome
Administrator
Hazel Pan says
Thank you for this noob-friendly guide! I was able to understand how to fix my issue right away. It also helped that I had awesome support from my hosting provider, Namecheap.
WPBeginner Support says
Glad our guide could be helpful
Administrator
Terry says
Thank you so much for this article, it helped.
WPBeginner Support says
Glad our article was helpful
Administrator
Umar Gondal says
May Allah bless you with eman. This article helped me to reset password of my website. Very informative article
WPBeginner Support says
Glad our article could be helpful
Administrator
Ajit Kumar says
The email could not be sent. Possible reason: your host may have disabled the mail() function.
error shows
WPBeginner Support says
If you have that error on your site, you would want to start by reaching out to your hosting provider.
Administrator
George says
Great article, I can see how this „can” work, but didn’t work for us either!!!!! We have access to the registrar, access to the domain and web hosting, full access to file manager, phpMyAdmin and the Installatron.
Followed your instructions to the T, didn’t work. We even changed the email in the email field. Its like the script didn’t update.
WPBeginner Support says
If this method didn’t work then you likely need to reach out to your hosting provider and your host should be able to assist in fixing this issue.
Administrator
Donny says
Really helpful, thanks a lot.
WPBeginner Support says
You’re welcome
Administrator
zorax says
Thank you, it was really helpful!
WPBeginner Support says
You’re welcome
Administrator
Van says
This didn’t work for me. I’ve tried changing my password via my profile in WP Admin and using this technique; neither worked. WordPress 5 bug?
WPBeginner Support says
You may want to clear your cache on your site and browser and check with your hosting provider that they are not preventing changes to your site’s database.
Administrator
Ammar Falak says
It didn’t work for us. I am still locked out of my WordPress Account. Please help!
WPBeginner Support says
If this method does not work, if you reach out to your hosting provider they should be able to help you log back into your site.
Administrator
Sanyukta Khot says
Thank you for a very useful article! Saved me a lot of time!
WPBeginner Support says
You’re welcome
Administrator
Dee says
Awesome!! Thanks so much for the valuable information.
Please continue to help us newbies…
WPBeginner Support says
Glad our articles are helpful
Administrator
lordhunos says
Wow, it works! You made my day! Thank you very much!
WPBeginner Support says
Glad our article could help
Administrator
Boitumelo says
This was very very helpful.
Thank you very much
WPBeginner Support says
Glad it was helpful
Administrator
Naveeen says
Awesome. Worked like magic.
Nice video and tut. Had exact problem with the password. Solved with this tut. Thank you very much.
Ana Villegas says
Thank you! It is very helpful.
Arukhan says
Thank you!
maza says
this was helpful and easy to do thank you
joe capels says
Dude thanks .I was about to redo the entire thing from scratch and funny what i did this website some 10 yrs ago and its ranking on SEO is pretty great -was freakin worried !
Helios Venntures says
Thanks a million, you’ve just saved a brother’s job.
Rajni says
Very useful. Thanks a ton!
Mylo de Borja says
How do I go to phpmyadmin, cpanel? I can’t remember who my hosting provider is.
Adam Vaughan-Williams says
Awesome!! Yes worked weil but the presenter of the video speaks too fast and had to keep going back. The instructions worked well though,
Thankyou
peter says
Take care to make sure yoju get the table name correct in the wp-config.php
Blessing Mashoko says
Works like a charm
Natty Honeycomb says
Thank you so much! I can’t believe I didn’t know my email address anymore!