Guest User

Untitled

a guest
Oct 18th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. sudo /user/local/mysql/bin/mysql -u root
  2.  
  3. use mysql;
  4.  
  5. update user set authentication_String = PASSWORD("newpass") where user='root';
  6.  
  7. update user set password=PASSWORD("NEW-ROOT-PASSWORD") where User='root';
  8.  
  9. UPDATE user SET authentication_string=PASSWORD("newpass") WHERE User='root';
Add Comment
Please, Sign In to add comment