1.mysql -u root -p
2.desc users;
3.select userid,alias,passwd from users;
4.update users set passwd=MD5('123') where userid=1;
5.flush privileges;
登陆测试
1.mysql -u root -p
2.desc users;
3.select userid,alias,passwd from users;
4.update users set passwd=MD5('123') where userid=1;
5.flush privileges;
登陆测试