SHARE
TWEET

Untitled

a guest Mar 18th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #stop mysql server
  2. sudo mysqld_safe --skip-grant-tables &
  3. mysql -uroot
  4.  
  5. use mysql;
  6. update user set authentication_string=PASSWORD("mynewpassword") where User='root';
  7. flush privileges;
  8. quit
  9.  
  10. #restart mysql server
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top