Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Change Password is an error
ERROR 1054 (42S22): Unknown column ‘password’ in 'field list’
Because mysql-5.7 and above has no password field, the password field has been modified to authentication_string field
Solution:
The password modified to authentication_string
update user set authentication_string=password('you new password') where user='root';