How To Reset Your MySQL or MariaDB Root Password on Ubuntu 20.04
Forgetting passwords happens to the best of us. If you forget or lose the **root** password to your MySQL or MariaDB database, you can still gain access and reset the password if you have access to the server and a sudo-enabled user account. In this tutorial you’ll reset the root password for your MySQL or MariaDB database running on Ubuntu 18.04.