找到系统自带 mysql 数据库

update user set password= password(“123456”)where user=”root”

mysql  5.7 下面

修改root用户密码

update user set authentication_string=password('root') where user='root';

更多推荐