mysql 修改密碼

#MySQL5.7
update mysql.user set authentication_string=password('123qwe') where user='root' and Host = 'localhost';
flush privileges;
#other version mysql
update user set password=password("root") where user="root";
flush privileges;
相關文章
相關標籤/搜索