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:
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:
6. Stop MySQL Server:
7. Stop and start the MySQL service and test it: