--- Reset mysql password ---


 service mysql stop
 mysqld_safe --skip-grant-tables &

 systemctl stop mysqld
 systemctl set-environment MYSQLD_OPTS="--skip-grant-tables"
 systemctl start mysqld

mysql -u root

UPDATE mysql.user SET authentication_string = PASSWORD('MyNewPassword') WHERE User = 'root';
FLUSH PRIVILEGES;

Valid HTML 4.0 Transitional