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 works for me. Got solution from MYSQL webpage
In MySQL run below queries:
FLUSH PRIVILEGES; ALTER USER 'root'@'localhost' IDENTIFIED BY 'New_Password';