- Stop the mysqld daemon process.
- Start the mysqld daemon process with the --skip-grant-tables option.
- Start the mysql client with the -u root option.
- Execute - UPDATE mysql.user SET password=PASSWORD('password123) WHERE user='root';
- Execute the FLUSH PRIVILEGES; command.
No comments:
Post a Comment