修改密码时 MySQL提示:Unknown column 'password' in 'field list'
错误的原因是 5.7 的mysql数据库下已经没有password这个字段了,password字段改成了authentication_string
将修改语句变成
update user set authentication_string=password('root') where user='root'; flush privileges;#立即生效
OK!!
错误的原因是 5.7 的mysql数据库下已经没有password这个字段了,password字段改成了authentication_string
将修改语句变成
update user set authentication_string=password('root') where user='root'; flush privileges;#立即生效
OK!!