0 like 0 dislike
38 views
asked in Software by (5.8k points)

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

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.

1 Answer

0 like 0 dislike
answered by (5.8k 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';

Related questions

0 like 0 dislike
1 answer 11 views
0 like 0 dislike
1 answer 26 views
0 like 0 dislike
1 answer 11 views
0 like 0 dislike
1 answer 30 views
0 like 0 dislike
1 answer 20 views
0 like 0 dislike
1 answer 26 views
0 like 0 dislike
1 answer 13 views
0 like 0 dislike
1 answer 23 views
0 like 0 dislike
1 answer 25 views
...