Instructions for reseting MySQL root password.
MySQL root password on the CWP servers can be reset by using cwp scripts, usage:

sh /scripts/mysql_pwd_reset

or

/scripts/mysql_pwd_reset

This script will stop MySQL run it in a safe mode, set RANDOM password and then restart the MySQL in normal mode with a new password.

If you do a custom MySQL password, please don’t use special characters and set it to
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
and
/root/.my.cnf