Guest User

Untitled

a guest
Apr 24th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. UPDATE user SET password='*C563415623144561...' WHERE user='root';
  2.  
  3. set password for 'jeff'@'localhost' = PASSWORD('mypass'); // this automatically hashes the password
  4.  
  5. UPDATE user SET authentication_string='*C563415623144561...' WHERE user='root@localhost';
  6.  
  7. show variables like '%validate_password%';
  8.  
  9. set variable_name=new_value;
  10.  
  11. SET PASSWORD FOR 'user_name' = PASSWORD('new_password');
  12.  
  13. alter user 'user_name' identified by 'new_password';
  14.  
  15. The plugin 'auth_socket' used to authenticate user 'root'@'localhost' is not loaded. Nobody can currently login using this account.
  16.  
  17. ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'mypass';
Add Comment
Please, Sign In to add comment