If you've forgotten the MySQL password for the root user, we've got you covered in this guide. Follow our step by step instructions to reset the root password on a Linux system via the command line.
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-change-mysql-root-password-on-linux