Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo /etc/init.d/mysql stop
- sudo mysqld --skip-grant-tables &
- mysql -u root mysql
- UPDATE user SET Password=PASSWORD('YOURNEWPASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit;
- sudo /etc/init.d/mysql stop
- sudo /etc/init.d/mysql start
Add Comment
Please, Sign In to add comment