In this article we will explain how to reset or recover forgotten MariaDB or MySQL root password in Linux.