service mysqld stop
mysqld_safe --skip-grant-tables
#En otra terminal ejecutar
mysql --user=root mysql
UPDATE user SET password=PASSWORD('wonfYpyp') WHERE user='root';
flush privileges;
exit;
service mysqld stop
mysqld_safe --skip-grant-tables
#En otra terminal ejecutar
mysql --user=root mysql
UPDATE user SET password=PASSWORD('wonfYpyp') WHERE user='root';
flush privileges;
exit;