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;
相关文章
相关标签/搜索