发布网友 发布时间: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';