Macbook M1 MacOS Big Sur Error MySQL PhpMyAdmin When Login

I login to MySQL using phpMyAdmin with root account and it produced this error.

Login root via terminal

I was able to login using my root password means something configuration is not correct.

macbook M1 mysql login via terminal
macbook M1 mysql login via terminal

When I googled, I found 2 solutions. I tried the first one but fail. So I documented the one that works with Macbook M1 MacOS Big Sur.

Update root Password via Terminal

Login Again At Your phpMyAdmin

It should work by now using root and the updated password.