Can't change user password on MySQL using UPDATE
问题 Under MySql 5.7.17 the mentioned instruction do not work and always I get no feedback or the following error message: 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 'UPDATE mysql.user SET password=password("elephant7") where user="root"' at line ... I tried the following UPDATE on the command line: UPDATE mysql.user SET Password = PASSWORD('elephant7') WHERE User='root'; I really don't