See the attached document on how to reset the root password.
Disclaimer: Changing MySQL Root Password
The information provided in this guide is intended to be used by experienced database administrators. Incorrectly changing the MySQL root password can result in loss of access to your MySQL database, leading to potential data loss or service disruption. Before proceeding, ensure that you have a complete and verified backup of your MySQL database and configuration files.
By following this guide, you acknowledge that you understand the risks involved and take full responsibility for any consequences. The author and provider of this guide assume no liability for any damages or data loss resulting from the use of this information.
Proceed with caution and only if you have the necessary technical expertise.