0 like 0 dislike
32 views
asked in Software by (4.7k points)

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

Your answer

pre, code

Preview

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 (4.7k 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 9 views
0 like 0 dislike
1 answer 19 views
0 like 0 dislike
1 answer 8 views
0 like 0 dislike
1 answer 24 views
0 like 0 dislike
1 answer 8 views
0 like 0 dislike
1 answer 19 views
0 like 0 dislike
1 answer 13 views
0 like 0 dislike
1 answer 16 views
0 like 0 dislike
1 answer 12 views
...