if for any reason you don't remember the Xtream Codes MySQL Root Password that you set during the Main Server installation, you can reset it with the following steps.
connect to your server using ssh
Run the following command:
Start MySQL without a password
Run the following command. The ampersand (&) at the end of the command is required.
Connect to MySQL
Run the following command:
Set a new MySQL root password
Run the following command:
Note: Change mynewpassword with your own password
Stop and start the MySQL service
(Ubuntu and Debian) Run the following commands:
…
sudo /etc/init.d/mysql start
Log in to the database
Test the new password by logging in to the database.
Enter your new password when prompted.