skip-grant-tables
mysql -u root mysql
UPDATE USER SET password=password('NEWPASS') WHERE USER='root' AND `host`='localhost`;