Login to the system shell as a root user and use:
METHOD ONE Execute '/home/servers/sitemanager/sh/mysqladmin --password=`cat sh/lib/mysql` password <new-password>'. (Change <new-password> to your password, e.g. '0s9df8')
METHOD TWO Execute 'sh/mysql --password=`cat sh/lib/mysql`'. That will give you the MySQL prompt. Then run:
'use mysql;' 'UPDATE `user` SET `password`=PASSWORD('$NEW_PASSWORD') WHERE `user` = 'root';' 'FLUSH PRIVILEGES;' (Change $NEW_PASSWORD with your password)
'quit;'
|