Introduction It happens to the best of us. If you forget or lose the root password to your MySQL or MariaDB database, you may still obtain access and change the password if you have access to the server and a sudo-enabled user account. This guide will walk you through the process of resetting the root ..