You should now be connected to the MySQL server as the root user.
Operation Phoenix: Regaining Sovereignty Over a Locked MySQL Instance (Windows Environment) mysql server root password reset windows
mysqld --skip-grant-tables --console
cd "C:\Program Files\MySQL\MySQL Server 8.0\bin" You should now be connected to the MySQL