I am trying reset my root password for mysql service, and I get the following error:
mysql> update user SET PASSWORD=PASSWORD("password") WHERE USER='root';
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 '("password") WHERE USER='root'' at line 1
I was trying to change "
to '
or `
and the same error appears.