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=‘用戶’;
一、幾個基本概念 登錄用戶(login user):通過登錄方式進入系統的用戶,強調登錄身份。 當前用戶(current user):執行一個進程或者命令時所使用的用戶身份,強調執行身份。 舉