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!
Bowen says
Hello,
Added Https to all pages, says unsafe, attempt to login and no luck, hit forgot password system reverts to Mojo Page…changed password per instructions above still no luck…any ideas how to get https off wordpress?
Tess says
OK, I have followed these instructions and successfully changed my admin password in the database and I still get a failed login message when I login with it. I need help gaining access to my site, please.
Sandra says
Thank you so much! These instructions helped me reset my WP username and password
neotanvir says
How can I transfer MD5 to normal text
Patty Ayers says
Thank you! Worked like a charm.
Edwin Schichter says
Very simpel…. just change and save the users emailadress into something familiar in the database, click on forgot password in the wordpress login page
Patty Ayers says
Yes, but only if you already have access to the back end.
Andrew says
Awesome thanks so much for taking the time to write this just recovered by site in 60 seconds – as a newbie rely on help online :)))
Yana says
Thanks mate, you made my day =)
Kinfe Weldu says
thank you.this solved my problem.
sarah says
thanks very helpful
Toyin says
Thanks for this article.Simple guide,was able to change my password through myphp.
harish chand says
Great thanks
MITESH MISTRI says
Hey… Nice post and this idea really works. Thanks.
Adeel Ahmed says
Thanks a lot. I had the problem but it has been solved . Otherwise I felt miserable about my wordpress login password being stolen
Jedediah says
Odd, I did this correctly and it’s still not letting me in.
venukanth says
really thanke ..most use full
Hasan says
Thanks, it’s really helpful and great !!
Razzaq says
another simple method for get the password, after edit the record change the email address. On wp-admin login screen, click on forget password. You will get the new link of make a new password.
Harsh says
Thanks a lot friend, very helpful post
Asaf Fialkov says
Many thanks! Worked like a charm
Mike says
Fantastic, you are geniuses!
Ken says
Thanks Man, your a lifesaver
Dave says
Perfect. Thanks for posting.
VaLAngel says
Great, great, great! 1 Billion Thanks…
Clinton says
Thank you!
Al says
Thanks buddy, i used to do lots of stuff on my wordress blog few years ago but now i kind of forget how to do it. Your blog post refreshed my memory…thanks again
Jarrii says
Thank you so much It works perfectly
Hilda says
worked perfectly, thank you so much!
Dan says
Followed your very clear steps. Worked like a charm. THANK YOU!
Rose says
Thank you so much! I couldn’t get into my new install of Word Press and of course it is the weekend. This is so well written that I was able to reset the admin password in one try.
Ewan says
How is this discussion affected by the salts in the wp-config file? Do we need to combine those when creating a new password?
Marty says
Over the last few weeks, I’ve had the pleasure of dealing with clients that didn’t have a reputable developer/designer and left them high and dry with little to no access of their OWN site, noway of re-setting the password through the recovery email, this guide WOULD have been great 2 weeks ago, but I’m sure I’ll be using it in the near future…
cheers Syed..
Karl Craig-West says
Perfect, worked a treat.
Many thanks indeed.
Harpa says
Thank you so much
Dotty says
Thanks so much – this really helped.
Luis says
What a lifesaver post! Thanks!
Ton says
Thank you so very much!
Andrea says
ok, I have done step by step everything you have suggested and is not working……..what can I do?
Editorial Staff says
Theoretically, if you did everything mentioned in this article, then it should work. However, you can always try this tutorial where you add a new admin user.
https://www.wpbeginner.com/wp-tutorials/how-to-add-an-admin-user-to-the-wordpress-database-via-mysql/
Administrator
Marty says
You can lead a horse to water………..but…..!…..
BK says
This was a life save. thanks
vking says
thanks you man it’s work!
Muhammad Abdul Qadoos says
why not we change email address and ask wp to resend password reset email
Editorial Staff says
You can do that as well. Then go click on reset button. Wait for the email to come. Then reset your password. Seems like a bit longer process, but to each their own.
Administrator
subbareddy says
this helps very much when you are in local system . Password reset doesnt work some times in local server .
I helped me a lot today
Benjamin says
Some hosts have the mail() function turned off and are unable to send emails via php.
stevelockridge says
Fabulous!!! Thank you!!! My client contacted me because their previous designer vanished and left them with NO login information for ANYTHING. This saved us all a lot of headaches.
rradvani says
great saved me !!! thanks wpbeginner!!
sharphue says
See that user_email field in the screenshot above? Just change the value to an e-mail address that you have access to. On the WP-Admin login screen, click „lost your password?” and type in the same e-mail address and you will receive a reset password link that will be easier than messing with MD5 hashing.
Oluniyi D. Ajao says
Thank you very much. You saved me having to re-install a WordPress installation.
W^L+ says
There has been some talk about web applications moving to a hash of the password + another string, to make it harder for bad guys to get in. Do you think this is coming to WP soon? (I think Joomla and Drupal are already doing this.)
Editorial Staff says
WordPress already has that built-in. You just have to add your own security keys in your wp-config.php file. Open it and you will see the place for it and a link where you can get your security keys from.
Administrator
Jeff says
Under the functions column, if you choose MD5, MySQl will automatically encrypt your password in MD5. Simply type your plaintext password in the main box.
This is a little easier than using other sites.
kusanagi says
very helpful, thanks.
Utkarsh says
You can also enter the password in plain text, and select MD5 from the function dropdown. It’ll automatically save the MD5 hash of the password in the database.
Jaspal says
Thnx .. that’s a great tip .. it will be very helpful for me