If you have lost your mysql password, getting error in login, no other way left to login PhpMyadmin in ubuntu then try this method. Sudo mysql ERROR 1045
Resetting root password in Ubuntu server is very easy, There are two ways to reset your administrative root password or there are two situations.