use mysql; update user set authentication_string=PASSWORD(“you password”) where User=‘root’; update user set plugin=“mysql_native_password”; #切记加上这一行 flush privileges; #还有这一行 quit; ———————————————— 版权声明:本文为CSDN博主「suddle」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。 原文链接:blog.csdn.net/weixin_3994…