mysql修改密码错误 ERROR 1054 (42S22)

发布网友 发布时间:2022-04-23 21:46

我来回答

4个回答

热心网友 时间:2022-04-07 16:27

如果是新版本的,你可以这样子,把password改成authentication_string就可以了.

热心网友 时间:2022-04-07 17:45

这样试试,我也是这样改的mysql>update mysql.user set authentication_string=password('123qwe') where user='root' and Host ='localhost';

热心网友 时间:2022-04-07 19:20

提示错误是 没有password这一列,你这句话是不是在linux操作的,试试下面这句
update mysql.user set password=PASSWORD('123456') where User='root';

热心网友 时间:2022-04-07 21:11

这个可以:update mysql.user set authentication_string='123456' where user='root';

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com