如果是新版本的,你可以这样子,把password改成authentication_string就可以了.
mysql修改密码错误 ERROR 1054 42S22
提示错误是 没有password这一列,你这句话是不是在linux操作的,试试下面这句
update mysql.user set password=PASSWORD('123456') where User='root';2015-11-13
如果是新版本的,你可以这样子,把password改成authentication_string就可以了.
2018-03-30
这样试试,我也是这样改的mysql>update mysql.user set authentication_string=password('123qwe') where user='root' and Host ='localhost';2015-11-25
这个可以:update mysql.user set authentication_string='123456' where user='root';2020-11-25