mysql修改密码错误 ERROR 1054 42S22

如果是新版本的,你可以这样子,把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
mengvlog 阅读 7 次 更新于 2025-07-20 06:02:01 我来答关注问题0
檬味博客在线解答立即免费咨询

mySQL相关话题

Copyright © 2023 WWW.MENGVLOG.COM - 檬味博客
返回顶部