5.7版本前的mysql运行: update user set password=password(“你的密码”) where user=“用户”;
.5.7版本后的mysql运行:update mysql.user set authentication_string=password(‘你的密码’) where user=‘用户’;
来源:CSDN
作者:江南一舟110
链接:https://blog.csdn.net/qq_30519365/article/details/104533998