mysql5.7+修改用戶的密碼和給用戶受權

1、修改密碼mysql mysql -u root -p sql update mysql.user setauthentication_string=password(「新密碼」) where User="test" and Host="localhost"; 數據庫 flush privileges;ide mysql5.7之後mysql.user表中沒有了password字段,而是使用aut
相關文章
相關標籤/搜索