How to Reset MySQL or MariaDB Root Password

This content provides a step-by-step guide to resetting or changing MySQL or MariaDB passwords on Ubuntu Linux. The tutorial addresses scenarios such as forgetting the root password in these databases and guides users through various command line instructions for password recovery, depending on the MySQL or MariaDB server's version being used. Additionally, it covers using the auth_socket plugin and explains how to restart the database servers after performing the necessary actions.

https://geekrewind.com/how-to-reset-mysql-or-mariadb-root-password/