这个方法win下不好用
2.进入mysql后
set password for '用户名'@'hostname' identified by 'newpassword'
3.进入mysql后
grant usage on *.* to '用户名'@'hostname' identified by 'newpassword'
4.修改user表
use mysql
update user set password=password('newpassword') where user='xxxx'
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)