1. Set the password in the configuration file canceled
we / etc / my.cnf
2. In the end, add the following command to open the configuration file
skip-grant-tables
3. Then restart mysqld, this time directly after the restart password-free
1. Set the password in the configuration file canceled
we / etc / my.cnf
2. In the end, add the following command to open the configuration file
skip-grant-tables
3. Then restart mysqld, this time directly after the restart password-free