You can reset your MySQL root password if you forget that or you are having any issue related to that.
1. First of all, log into the server as root using SSH.
2. Now, stop MySQL service:
3. Start MySQL server without password:
4. Connect to MySQL:
5. Setup new MySQL root password: