Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mysql -u root
- sudo mysqld_safe —skip-grant-tables
- mysql -u root
- update mysql.user set password_expired = 'N', authentication_string=PASSWORD('newpassword') where user = 'root';
- flush privileges;
- mysql -u root -p[Enter]
- //enter your localhost password
- $ sudo mysql
- mysql -u root
- mysql -u root -p;
- cat /root/.mysql_secret
- mysql -u root --password=secret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement