I\'m trying to update the password for a database user using the command line, and it\'s not working for me. This is the code I\'m using:
mysql> UPDATE user S
this is the updated answer for WAMP v3.0.6
UPDATE mysql.user SET authentication_string=PASSWORD('MyNewPass') WHERE user='root'; FLUSH PRIVILEGES;