systemctl stop mysql
mysqld_safe --skip-grant-tables &
mysql>
UPDATE mysql.user SET Password=PASSWORD('NEW-PASSWORD') WHERE User='root';
FLUSH PRIVILEGES;
EXIT
systemctl start mysql

Run all commands as root