edit /etc/my.cnf and add in config:
[mysqld]
skip-grant-tables
after restart mysql:
service mysqld restart
change password in MySQL maintence:
/www/server/mysql/bin/mysql -u root -p
mysql> flush privileges;
mysql> Set new password by ALTER USER 'root'@'localhost' IDENTIFIED BY 'NewPassword';