Guest User

Untitled

a guest
Sep 15th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #Stop the MySQL Server.
  2. sudo /etc/init.d/mysql stop
  3.  
  4. #Start the mysqld configuration.
  5. sudo mysqld --skip-grant-tables &
  6.  
  7. #Login to MySQL as root.
  8. mysql -u root mysql
  9.  
  10. #Change your password
  11. UPDATE user SET Password=PASSWORD('NEWPASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit;
Add Comment
Please, Sign In to add comment