Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Coppa WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Come resettare la password di WordPress da phpMyAdmin

La reimposta della password di WordPress è di solito un processo semplice. Tuttavia, a volte i metodi standard non funzionano, lasciandovi bloccati fuori dal vostro sito web.

Alcuni dei nostri lettori hanno riscontrato questo problema e ci hanno chiesto un consiglio su quale sia il modo migliore per accedere ai loro account. Fortunatamente, potete sempre utilizzare lo strumento phpMyAdmin nel pannello di controllo del vostro account di hosting per reimpostare la password direttamente dal database di WordPress.

In questo articolo vi mostreremo come reimpostare facilmente la password di WordPress da phpMyAdmin. Spiegheremo ogni passaggio in modo chiaro, assicurandoci che anche chi non ha familiarità con i database possa seguirlo con sicurezza.

How to Reset a WordPress Password from phpMyAdmin

Perché resettare la password di WordPress da phpMyAdmin?

WordPress rende super facile il recupero di una password persa.

È sufficiente andare alla schermata di accesso del vostro sito web WordPress e cliccare sul link “Hai perso la password?”.

Click on 'Lost Your Password?'

Facendo clic sul link si accede alla pagina di reimpostazione della password. Una volta inserito il nome utente o l’indirizzo e-mail, WordPress invierà un link per la reimpostazione della password all’indirizzo e-mail associato.

Tuttavia, se non avete accesso a quell’indirizzo e-mail o se il vostro sito WordPress non riesce a inviare un’e-mail, non sarete in grado di reimpostare la password.

In questa situazione, è necessario reimpostare la password di WordPress direttamente nel database. Il modo più semplice per farlo è usare phpMyAdmin.

Detto questo, vediamo come resettare facilmente una password di WordPress da phpMyAdmin.

Come resettare la password di WordPress da phpMyAdmin

Subscribe to WPBeginner

Se non volete guardare il tutorial video, potete continuare a leggere la versione testuale qui sotto.

Per prima cosa, è necessario accedere al cruscotto cPanel del vostro account di hosting WordPress. Quindi, è necessario navigare nella sezione Database, dove è possibile fare clic sull’icona phpMyAdmin.

phpmyadmin panel in Bluehost

In questo modo si avvia l’applicazione phpMyAdmin.

Qui è necessario selezionare il database di WordPress dal riquadro di sinistra.

Select Your WordPress Database

Ora viene visualizzato l’elenco delle tabelle del database di WordPress.

È necessario cercare la tabella wp_users in questo elenco e fare clic sul link “Sfoglia” accanto ad essa.

Click the wp_users Browse Link

Nota: i nomi delle tabelle nel database di WordPress potrebbero avere un prefisso diverso da quello mostrato nell’immagine. La modifica dei prefissi delle tabelle può migliorare la sicurezza del vostro sito WordPress.

Ora si vedranno le righe della tabella degli utenti di WordPress. Fate clic sul pulsante di modifica accanto al nome utente di cui desiderate cambiare la password.

Click the Edit Button Next to the Username

PhpMyAdmin mostrerà un modulo con tutti i campi delle informazioni dell’utente.

È necessario cancellare il valore del campo user_pass e sostituirlo con la nuova password. Nella colonna Funzione, selezionare MD5 dal menu a discesa e fare clic sul pulsante Vai in fondo al modulo.

Select MD5 and Type Your New Password

La password verrà crittografata utilizzando l’hash MD5 e poi verrà memorizzata nel database.

Congratulazioni! Avete cambiato con successo la password di WordPress usando phpMyAdmin.

Alcuni di voi si chiederanno perché abbiamo scelto l’hash MD5 per criptare la password. In precedenza WordPress utilizzava l’hash MD5 per crittografare le password, ma da WordPress 2.5 utilizza tecnologie di crittografia più forti.

Tuttavia, WordPress riconosce ancora l’MD5 per garantire la compatibilità con il passato. Non appena si accede utilizzando una stringa di password memorizzata come hash MD5, WordPress la modificherà automaticamente per utilizzare gli algoritmi di crittografia più recenti.

Guide di esperti sulle password in WordPress

Ora che sapete come reimpostare una password di WordPress da phpMyAdmin, potreste voler vedere altri articoli relativi alle password di WordPress.

Speriamo che questo tutorial vi abbia aiutato a imparare come resettare una password di WordPress da phpMyAdmin. Potreste anche voler consultare la nostra guida definitiva alla sicurezza di WordPress, passo dopo passo, per mantenere il vostro sito WordPress al sicuro, oppure la nostra selezione di plugin indispensabili.

Se questo articolo vi è piaciuto, iscrivetevi al nostro canale YouTube per le esercitazioni video su WordPress. Potete trovarci anche su Twitter e Facebook.

Divulgazione: I nostri contenuti sono sostenuti dai lettori. Ciò significa che se cliccate su alcuni dei nostri link, potremmo guadagnare una commissione. Vedi come WPBeginner è finanziato , perché è importante e come puoi sostenerci. Ecco il nostro processo editoriale .

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Il kit di strumenti WordPress definitivo

Ottenete l'accesso gratuito al nostro kit di strumenti - una raccolta di prodotti e risorse relative a WordPress che ogni professionista dovrebbe avere!

Reader Interactions

286 commentiLascia una risposta

  1. NS

    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.

  2. aisha

    I tried this but didn’t work. Need help

    • WPBeginner Support

      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.

      Admin

  3. Altuğ G.

    This didn’t work for me :(

    • WPBeginner Support

      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

      Admin

    • WPBeginner Support

      Glad our guide was able to help :)

      Admin

  4. Arsène

    It worked, thank you very much

    • WPBeginner Support

      Glad our guide could help :)

      Admin

  5. Aikya Dasgupta

    Thank you very much. This worked for me and I am now able to access my WordPress dashboard.

    • WPBeginner Support

      Glad our guide was helpful :)

      Admin

  6. John

    Perfect – saved me from a big issue.. thanks! Now, about getting those WP system emails working again…………….!

  7. Tayyab Shafique

    it was really helpful.
    Thanks :)

    • WPBeginner Support

      You’re welcome :)

      Admin

  8. Saad

    thanks a lot for saving my day …

    • WPBeginner Support

      You’re welcome :)

      Admin

  9. Anita

    Thank you, this saved me a headache :D

    • WPBeginner Support

      Glad our guide was helpful :)

      Admin

  10. Elias

    You’re a genius. Thank you

    • WPBeginner Support

      You’re welcome :)

      Admin

  11. jackie

    REALLY helpful. I’ve been struggling for weeks and now i can finally log in again! thanks a lot!

    • WPBeginner Support

      You’re welcome, glad our guide was helpful :)

      Admin

  12. Robin B

    So, so helpful. Thanks so much!

    • WPBeginner Support

      You’re welcome :)

      Admin

  13. Chidi Ejikeugwu

    why did you recommend to use MD5 when changing password?

    • WPBeginner Support

      That is what WordPress uses for passwords by default

      Admin

  14. japsimran singh

    Thank You Buddy.
    It really helped.

    • WPBeginner Support

      Glad our article could help :)

      Admin

  15. banson

    Thank you problem Solved

    • WPBeginner Support

      Glad our guide was helpful :)

      Admin

  16. Nthtuko Mbhele

    Thank you so much, thank you, thank you

    • WPBeginner Support

      You’re welcome, glad our guide was helpful :)

      Admin

  17. Premier

    Thank you! Solved my problem!

    • WPBeginner Support

      Glad our guide was able to help :)

      Admin

    • WPBeginner Support

      You’re welcome, glad our guide was able to help :)

      Admin

    • WPBeginner Support

      You’re welcome :)

      Admin

    • WPBeginner Support

      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

      Admin

  18. Pranoy

    very very thank you
    big headache solved

    • WPBeginner Support

      Glad our guide could be helpful :)

      Admin

  19. Urs Keller

    You did super great job. I could reset my pw. Thank you!

    • WPBeginner Support

      You’re welcome, glad we could help :)

      Admin

  20. Taylor

    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

      You would want to double-check that you encrypted the password using MD5 as the most common reason

      Admin

  21. Cattel

    Direct explanation! Thanks!

    • WPBeginner Support

      You’re welcome :)

      Admin

  22. Hazel Pan

    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

      Glad our guide could be helpful :)

      Admin

  23. Terry

    Thank you so much for this article, it helped.

    • WPBeginner Support

      Glad our article was helpful :)

      Admin

  24. Umar Gondal

    May Allah bless you with eman. This article helped me to reset password of my website. Very informative article

    • WPBeginner Support

      Glad our article could be helpful :)

      Admin

  25. Ajit Kumar

    The email could not be sent. Possible reason: your host may have disabled the mail() function.

    error shows

    • WPBeginner Support

      If you have that error on your site, you would want to start by reaching out to your hosting provider.

      Admin

  26. George

    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

      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.

      Admin

  27. Donny

    Really helpful, thanks a lot.

    • WPBeginner Support

      You’re welcome :)

      Admin

  28. zorax

    Thank you, it was really helpful!

    • WPBeginner Support

      You’re welcome :)

      Admin

  29. Van

    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

      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.

      Admin

  30. Ammar Falak

    It didn’t work for us. I am still locked out of my WordPress Account. Please help!

    • WPBeginner Support

      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.

      Admin

  31. Sanyukta Khot

    Thank you for a very useful article! Saved me a lot of time!

    • WPBeginner Support

      You’re welcome :)

      Admin

  32. Dee

    Awesome!! Thanks so much for the valuable information.
    Please continue to help us newbies…

    • WPBeginner Support

      Glad our articles are helpful :)

      Admin

  33. lordhunos

    Wow, it works! You made my day! Thank you very much!

    • WPBeginner Support

      Glad our article could help :)

      Admin

  34. Boitumelo

    This was very very helpful.

    Thank you very much

    • WPBeginner Support

      Glad it was helpful :)

      Admin

  35. Naveeen

    Awesome. Worked like magic.
    Nice video and tut. Had exact problem with the password. Solved with this tut. Thank you very much.

  36. Ana Villegas

    Thank you! It is very helpful.

  37. maza

    this was helpful and easy to do thank you :)

  38. joe capels

    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 !

  39. Helios Venntures

    Thanks a million, you’ve just saved a brother’s job.

  40. Rajni

    Very useful. Thanks a ton!

  41. Mylo de Borja

    How do I go to phpmyadmin, cpanel? I can’t remember who my hosting provider is.

  42. Adam Vaughan-Williams

    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 :)

  43. peter

    Take care to make sure yoju get the table name correct in the wp-config.php

  44. Blessing Mashoko

    Works like a charm

  45. Natty Honeycomb

    Thank you so much! I can’t believe I didn’t know my email address anymore!

Lascia una risposta

Grazie per aver scelto di lasciare un commento. Tenga presente che tutti i commenti sono moderati in base alle nostre politica dei commenti e il suo indirizzo e-mail NON sarà pubblicato. Si prega di NON utilizzare parole chiave nel campo del nome. Avremo una conversazione personale e significativa.