出现Unknown column 'password' in 'field list'这个问题
是 由于新版本的mysql采用了authentication_string来替代password字段
将语句修改为 update mysql.user set authentication_string=password('root') where user='root' ; 即可。
出现Unknown column 'password' in 'field list'这个问题
是 由于新版本的mysql采用了authentication_string来替代password字段
将语句修改为 update mysql.user set authentication_string=password('root') where user='root' ; 即可。