Maybe this could help you.
Apr 24, 2020
4
Level 1
How to reset root password when denied access to user in ubuntu ec2 instance
Hello, I have installed phpmyadmin on ubuntu ec2 instance. Phpmyadmin page is showing up in front page, but I am receiving error denying access to the root user. I had already set up password for the root during installation, but when I try to login using mysql -u root -p then I am getting error access denied for user 'root@localhost' (using password: YES). How can I setup root password so that I can login into phpmyadmin?
Please or to participate in this conversation.