5.7版本前的mysql運行: update user set password=password(“你的密碼”) where user=“用戶”;
.5.7版本後的mysql運行:update mysql.user set authentication_string=password(‘你的密碼’) where user=‘用戶’;
5.7版本前的mysql運行: update user set password=password(“你的密碼”) where user=“用戶”;
.5.7版本後的mysql運行:update mysql.user set authentication_string=password(‘你的密碼’) where user=‘用戶’;