in Software by (10.1k points)
0 like 0 dislike
65 views

How I can to update password for some user through command line interface in MySQL DBMS?

1 Answer

0 like 0 dislike
by (10.1k points)

MySQL updating password for user through command line interface:

update user set authentication_string = PASSWORD('pass') where user = 'foo';
update user set authentication_string = 'pass' where user = 'foo';

Your answer

Try to answer the question as detailed as possible.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.