Error establishing a database connection after changing password of phpmyadmin

I can’t access my site anymore after I tried changing phpmyadmin password in my vm instance ssh. I tried changing password because I can’t login to phpmyadmin using the default password of root. What will I do to bring back my website? TIA.

Update the password in the website configuration?

Also never change passwords in PHPmyadmin…

1 Like

Yes. I came across to this website and followed the instructions but after that my website broke and still can’t log in to phpmyadmin, says “Cannot log in to the MySQL server”. I just want to change the password of my wordpress admin account in phpmyadmin because I forgot it.