I am a newbie to SQL, I am following a course where I was asked to change the password.
I inserted this command:
UPDATE mysql.user SET authentication_string=PASSWORD(‘password’) WHERE User='root';
and received this error msg:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '('pwd') WHERE User='root'' at line 1
I tried option presented in this post: ERROR 1064 (42000): You have an error in your SQL syntax; Want to configure a password as root being the user
All of them return the same Error. Can you help? Thanks!