You can follow below steps to change Mysql root password:
Login to WHM.
Click on Mysql root password under “SQL services” tab.
Now you have to enter new password of your Mysql database.
You have to use STRONG and COMPLEX password for your database as everyone can access database. Do not use...