A common problem with mysql databases is the loss of the root password for various reasons. This article will describe how to quickly recover a root password in mysql without losing data, using Debian/Ubuntu as an example.
![](https://oss-it.ru/wp-content/uploads/2011/05/Logo-mysql_sml.jpg)
A common problem with mysql databases is the loss of the root password for various reasons. This article will describe how to quickly recover a root password in mysql without losing data, using Debian/Ubuntu as an example.