teknoids.com
How To Reset Forgotten MariaDB/MySQL Root Password on Ubuntu and CentOS
This article will come in handy if you have forgotten your MariaDB root password.