出现此错误的原因是mysql数据库下已经没有password这个字段了,password字段改成了
authentication_string
所以该更为以下字段在运行即可 update mysql.user set authentication_string=password('123') where user='root' ;