Change MySQL root password in Virtualmin
To change MySQL root password in Virualmin server, login to virtualmin, navigate to
Webmin > Servers > MySQL Database Server
Click on “Change Administration Password” button. On next page, it will show current MySQL root password and provide option to change MySQL root password.
See Virtualmin