Mạnh Cường
Member
How do I recover MySQL root password?
Answer
To reset the root password for MySQL, follow these steps:
Answer
To reset the root password for MySQL, follow these steps:
- Log in to your account using SSH. …
- Stop the MySQL server using the appropriate command for your Linux distribution: …
- Restart the MySQL server with the —skip-grant-tables option. …
- Log into MySQL using the following command:
- At the mysql> prompt, reset the password.