mysql权限修改记录

 

 

select user, password, host from mysql.user;

 

 

GRANT ALL PRIVILEGES ON *.* TO 'root'@'147.114.169.197' IDENTIFIED BY '1' WITH GRANT OPTION;

 

 

 

扫描二维码关注公众号,回复: 5026347 查看本文章

update mysql.user set password='' where host='147.114.169.197';

 

 

 

flush privileges;

 

 

猜你喜欢

转载自www.cnblogs.com/xingchong/p/10306283.html