MySQL: Recovering the root password
- Lucas
- August 23, 2018
Accidents happen. Losing or forgetting a password is not uncommon. In this brief guide, we’ll teach you how to change the MySQL root password on Linux servers. First of all, make sure you are logged in as root. We will edit the file “ /etc/my.cnf ” file and add the following directive at the end