Updated over 6 years ago by Jessie Lee
mysqld_safe --skip-grant-tables
UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root'; FLUSH PRIVILEGES;