This hosting maintenance note, published on February 2, 2015, is titled "Solutions for Forgotten MySQL Database ROOT Password on Linux VPS Hosts." The actual environment or tools involved include MySQL and Linux.
Parameters recorded in the original text
- Database configuration file:my.cnf
Matters mentioned in the article
- First, modify the MySQL login settings.
- Second, restart MySQLD
- Third, prepare to change the MySQL password.
- Fourth, edit the /etc/my.cnf file.
Usage Environment
MySQL, Linux.
Key points to check
Data verificationWhen databases are involved, the version, character set, and number of tables should be recorded, and it should be verified that the backup can be restored in an independent environment.