Guest User

Untitled

a guest
Mar 9th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. sudo /etc/init.d/mysql stop
  2. sudo mysqld --skip-grant-tables &
  3. mysql -u root mysql
  4. UPDATE user SET Password=PASSWORD('YOURNEWPASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit;
  5. sudo /etc/init.d/mysql stop
  6. sudo /etc/init.d/mysql start
Add Comment
Please, Sign In to add comment